summaryrefslogtreecommitdiff
path: root/src/backend/port/snprintf.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-12-25 02:20:42 +0000
committerBruce Momjian <bruce@momjian.us>1998-12-25 02:20:42 +0000
commita2aae54222331958d96265b197c545dc4587013e (patch)
tree9c0336a7403190bf95488525ca86561e52dd94f4 /src/backend/port/snprintf.c
parent85e3bf1555a1249218e8ab88245e2af2d86108cf (diff)
Fix for version, update to 6.5.
Diffstat (limited to 'src/backend/port/snprintf.c')
-rw-r--r--src/backend/port/snprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/port/snprintf.c b/src/backend/port/snprintf.c
index 46c3275cc64..8128eb6ebaf 100644
--- a/src/backend/port/snprintf.c
+++ b/src/backend/port/snprintf.c
@@ -51,6 +51,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
/*
@@ -75,7 +76,7 @@ typedef long long long_long;
* causing nast effects.
**************************************************************/
-/*static char _id[] = "$Id: snprintf.c,v 1.10.2.2 1998/12/18 07:03:29 momjian Exp $";*/
+/*static char _id[] = "$Id: snprintf.c,v 1.10.2.3 1998/12/25 02:20:41 momjian Exp $";*/
static char *end;
static int SnprfOverflow;
@@ -363,7 +364,7 @@ int base,
{
int signvalue = 0;
#ifdef HAVE_LONG_LONG_INT_64
- unsigned long long uvalue;
+ ulong_long uvalue;
#else
unsigned long uvalue;
#endif