freebsd-ports/editors/fxite/files/patch-src_luafx.cpp
Pietro Cerutti 4f374c4364 - Remove compiler flags not understood by GCC
- Fix the source instead
2014-07-24 12:25:47 +00:00

11 lines
398 B
C++

--- src/luafx.cpp.orig 2014-07-24 14:16:55.000000000 +0200
+++ src/luafx.cpp 2014-07-24 14:19:21.000000000 +0200
@@ -173,7 +173,7 @@
switch (toupper(type[0])) {
case 'I' : {
if (!lua_isnil(L,3)) {
- txt.format(sizeof(lua_Integer)>4?"%ld":"%d", luaL_checkinteger(L,3));
+ txt.format("%ld", luaL_checkinteger(L,3));
}
opt=INPUTDIALOG_INTEGER;
break;