mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:45:40 +00:00
[CRT] Fix MSVC warnings
svn path=/trunk/; revision=67519
This commit is contained in:
parent
bc3ca7d415
commit
6223a53eb1
1 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ _FUNCTION_ {
|
||||||
if (!seendigit) break; /* not a valid number */
|
if (!seendigit) break; /* not a valid number */
|
||||||
st = 1;
|
st = 1;
|
||||||
if (!suppress) {
|
if (!suppress) {
|
||||||
#define _SET_NUMBER_(type) *va_arg(ap, type*) = negative ? -cur : cur
|
#define _SET_NUMBER_(type) *va_arg(ap, type*) = negative ? -(LONGLONG)cur : cur
|
||||||
if (I64_prefix) _SET_NUMBER_(LONGLONG);
|
if (I64_prefix) _SET_NUMBER_(LONGLONG);
|
||||||
else if (l_prefix) _SET_NUMBER_(LONG);
|
else if (l_prefix) _SET_NUMBER_(LONG);
|
||||||
else if (h_prefix == 1) _SET_NUMBER_(short int);
|
else if (h_prefix == 1) _SET_NUMBER_(short int);
|
||||||
|
@ -640,7 +640,7 @@ _FUNCTION_ {
|
||||||
if ((*(format - 1)) < *(format + 1))
|
if ((*(format - 1)) < *(format + 1))
|
||||||
RtlSetBits(&bitMask, *(format - 1) +1 , *(format + 1) - *(format - 1));
|
RtlSetBits(&bitMask, *(format - 1) +1 , *(format + 1) - *(format - 1));
|
||||||
else
|
else
|
||||||
RtlSetBits(&bitMask, *(format + 1) , *(format - 1) - *(format + 1));
|
RtlSetBits(&bitMask, *(format + 1) , *(format - 1) - *(format + 1));
|
||||||
format++;
|
format++;
|
||||||
} else
|
} else
|
||||||
RtlSetBits(&bitMask, *format, 1);
|
RtlSetBits(&bitMask, *format, 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue