Fix for snprintf and long long unsigned.

This commit is contained in:
Bruce Momjian 1998-12-24 05:28:50 +00:00
parent f7bc35645a
commit cb6331901c
1 changed files with 3 additions and 2 deletions

View File

@ -48,6 +48,7 @@
/* IRIX doesn't do 'long long' in va_arg(), so use a typedef */
#ifdef HAVE_LONG_LONG_INT_64
typedef long long long_long;
typedef unsigned long long ulong_long;
#endif
/*
@ -72,7 +73,7 @@ typedef long long long_long;
* causing nast effects.
**************************************************************/
/*static char _id[] = "$Id: snprintf.c,v 1.14 1998/12/18 07:08:00 momjian Exp $";*/
/*static char _id[] = "$Id: snprintf.c,v 1.15 1998/12/24 05:28:50 momjian Exp $";*/
static char *end;
static int SnprfOverflow;
@ -350,7 +351,7 @@ int base,
{
int signvalue = 0;
#ifdef HAVE_LONG_LONG_INT_64
unsigned long_long uvalue;
ulong_long uvalue;
#else
unsigned long uvalue;
#endif