summaryrefslogtreecommitdiff
path: root/games/chromium-bsu/files/patch-NCString.cpp
blob: f1c98cd4a8f97e8d322273fd2737b1456c971f83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/NCString.cpp.orig	Fri Mar 14 19:57:50 2003
+++ src/NCString.cpp	Fri Mar 14 20:06:44 2003
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <limits.h>
+#include <stdarg.h>
 
 /**
  * ctor
@@ -1055,7 +1056,7 @@
 uint NCString::toULong(const char *str, bool *ok)
 {
 	int n;
-	ulong tmp = 0;
+	unsigned long tmp = 0;
 	if(str)
 	{
 		n = sscanf(str, "%lu", &tmp);