Ignore:
Timestamp:
Oct 14, 1999, 3:19:22 AM (26 years ago)
Author:
bird
Message:

Changes during Pe2Lx rewrite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/misc/vsprintf.c

    r847 r1271  
    1 /* $Id: vsprintf.c,v 1.1 1999-09-06 02:20:02 bird Exp $
     1/* $Id: vsprintf.c,v 1.2 1999-10-14 01:19:22 bird Exp $
    22 *
    33 * vsprintf and sprintf
     
    3131#include <stdarg.h>
    3232
    33 #include "dev32.h"
     33#ifdef RING0
     34    #include "dev32.h"
     35#else
     36    #define SSToDS(a) (a)
     37#endif
    3438#include "sprintf.h"
    3539
     
    128132        }
    129133        else if (fFlags & (NTSF_PLUS | NTSF_BLANK))
    130             psz[i++] = fFlags & NTSF_PLUS ? '+' : ' ';
     134            psz[i++] = (char)(fFlags & NTSF_PLUS ? '+' : ' ');
    131135    }
    132136
     
    135139        psz[i++] = '0';
    136140        if (uiBase == 16)
    137             psz[i++] = fFlags & NTSF_CAPITAL ? 'X' : 'x';
     141            psz[i++] = (char)(fFlags & NTSF_CAPITAL ? 'X' : 'x');
    138142    }
    139143
     
    181185
    182186
     187#pragma info(notrd)
    183188/**
    184189 * Partial vsprintf implementation.
     
    295300                        char *pszStr = va_arg(args, char*);
    296301
    297                         if (pszStr > (char*)0x10000)
     302                        if (pszStr < (char*)0x10000)
    298303                            pszStr = "<NULL>";
    299304                        cchStr = _strnlen(pszStr, (unsigned)cchPrecision);
Note: See TracChangeset for help on using the changeset viewer.