aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-08-14 18:45:25 +0000
committerWarner Losh <imp@FreeBSD.org>2018-08-14 18:45:25 +0000
commiteddbdee83d0b14c640b2c1a9580caa9740f382eb (patch)
tree83588c23c06f1acc39c198cb522bf2f9ec19ec22 /stand
parent243ff7d88b50282b7da108c6a2a74e18c9ddfe64 (diff)
downloadsrc-eddbdee83d0b14c640b2c1a9580caa9740f382eb.tar.gz
src-eddbdee83d0b14c640b2c1a9580caa9740f382eb.zip
For our INT64 implementation, we can compare integers and numbers
directly because they are the same thing. Reviewed by: kevans@
Notes
Notes: svn path=/head/; revision=337809
Diffstat (limited to 'stand')
-rw-r--r--stand/liblua/luaconf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/stand/liblua/luaconf.h b/stand/liblua/luaconf.h
index 7ed0e85db3a1..6eee830bc404 100644
--- a/stand/liblua/luaconf.h
+++ b/stand/liblua/luaconf.h
@@ -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 */