mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
- 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'
19 lines
499 B
C++
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();
|