ports/devel/omniORB/files/patch-src_tool_omniidl_cxx_idlutil.cc
Muhammad Moinur Rahman 93e0bd397f devel/omniORB: Update version 4.2.0=>4.2.1
- Remove OPTIONS EXAMPLES as the mentioned file is a config file which has
  been moved to @sample framework
- Remove <bsd.port.options.mk> in lieu of OPTIONSNG
- Fix patch files to reflect 'make makepatch'
2015-10-27 23:51:18 +00:00

19 lines
499 B
C++

--- src/tool/omniidl/cxx/idlutil.cc.orig 2013-07-18 11:28:03 UTC
+++ src/tool/omniidl/cxx/idlutil.cc
@@ -108,13 +108,13 @@ idl_strtoul(const char* text, int base)
IdlIntLiteral ull;
switch (base) {
case 8:
- sscanf(text, "%I64o", &ull);
+ sscanf(text, "%qo", &ull);
break;
case 10:
- sscanf(text, "%I64d", &ull);
+ sscanf(text, "%qd", &ull);
break;
case 16:
- sscanf(text, "%I64x", &ull);
+ sscanf(text, "%qx", &ull);
break;
default:
abort();