Author: imp Date: Tue Aug 14 18:45:25 2018 New Revision: 337809 URL: https://svnweb.freebsd.org/changeset/base/337809
Log: For our INT64 implementation, we can compare integers and numbers directly because they are the same thing. Reviewed by: kevans@ Modified: head/stand/liblua/luaconf.h Modified: head/stand/liblua/luaconf.h ============================================================================== --- head/stand/liblua/luaconf.h Tue Aug 14 18:45:20 2018 (r337808) +++ head/stand/liblua/luaconf.h Tue Aug 14 18:45:25 2018 (r337809) @@ -450,9 +450,7 @@ ** and therefore its conversion to float may have an ill-defined value.) */ #define lua_numbertointeger(n,p) \ - ((n) >= (LUA_NUMBER)(LUA_MININTEGER) && \ - (n) < -(LUA_NUMBER)(LUA_MININTEGER) && \ - (*(p) = (LUA_INTEGER)(n), 1)) + (*(p) = (LUA_INTEGER)(n), 1) /* now the variable definitions */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"