aboutsummaryrefslogtreecommitdiff
path: root/games/chromium-bsu/files/patch-NCString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/chromium-bsu/files/patch-NCString.cpp')
-rw-r--r--games/chromium-bsu/files/patch-NCString.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/chromium-bsu/files/patch-NCString.cpp b/games/chromium-bsu/files/patch-NCString.cpp
new file mode 100644
index 000000000000..f1c98cd4a8f9
--- /dev/null
+++ b/games/chromium-bsu/files/patch-NCString.cpp
@@ -0,0 +1,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);