summaryrefslogtreecommitdiff
path: root/dev-libs/libe/files/libe-0.11.0-strtoul.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libe/files/libe-0.11.0-strtoul.patch')
-rw-r--r--dev-libs/libe/files/libe-0.11.0-strtoul.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libe/files/libe-0.11.0-strtoul.patch b/dev-libs/libe/files/libe-0.11.0-strtoul.patch
new file mode 100644
index 000000000000..e993c593252f
--- /dev/null
+++ b/dev-libs/libe/files/libe-0.11.0-strtoul.patch
@@ -0,0 +1,11 @@
+--- a/e/convert.h
++++ b/e/convert.h
+@@ -58,7 +58,7 @@
+
+ errno = 0;
+ #ifdef _MSC_VER
+- ret = _strtoui64(s.c_str(), &endptr, base);
++ ret = strtoul(s.c_str(), &endptr, base);
+ #else
+ ret = strtoull(s.c_str(), &endptr, base);
+ #endif