diff options
Diffstat (limited to 'src/game/bg_lib.c')
-rw-r--r-- | src/game/bg_lib.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/game/bg_lib.c b/src/game/bg_lib.c index 69bca48..b9c8762 100644 --- a/src/game/bg_lib.c +++ b/src/game/bg_lib.c @@ -67,7 +67,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: bg_lib.c 965 2007-08-09 13:54:12Z msk $"; + "$Id: bg_lib.c,v 1.1.1.1.4.1 2009/02/17 02:38:26 johne Exp $"; #endif /* LIBC_SCCS and not lint */ // bk001127 - needed for DLL's @@ -1663,7 +1663,6 @@ unsigned int _hextoi( const char **stringPtr ) #define SHORTINT 0x00000040 /* short integer */ #define ZEROPAD 0x00000080 /* zero (as opposed to blank) pad */ #define FPT 0x00000100 /* floating point number */ -#define UNSIGNED 0x00000200 /* unsigned integer */ #define to_digit(c) ((c) - '0') #define is_digit(c) ((unsigned)to_digit(c) <= 9) @@ -1677,9 +1676,6 @@ void AddInt( char **buf_p, int val, int width, int flags ) digits = 0; - if( flags & UNSIGNED ) - val = (unsigned) val; - if( flags & HEX ) { char c; @@ -1944,8 +1940,6 @@ reswitch: arg++; break; - case 'u': - flags |= UNSIGNED; case 'd': case 'i': AddInt( &buf_p, *arg, width, flags ); |