summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-05 11:31:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-05 11:31:50 +0000
commitd966f1b2f38c5f380f3a71d4ce698dac155a4bb8 (patch)
tree19c3b078f2f6c81d43538bfda468ba5c87a472c9
parent702250a412bb9bd3b83e755aaa1cacd8a5b364d5 (diff)
pack.c: use LONG_LONG
* pack.c (NATINT_LEN_Q): do not use long long directly, use LONG_LONG instead. fix compilation error on mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index bc4e1ed548..f5c0da5543 100644
--- a/pack.c
+++ b/pack.c
@@ -69,7 +69,7 @@ static const char endstr[] = "sSiIlLqQ";
#endif
#ifdef HAVE_LONG_LONG
-# define NATINT_LEN_Q NATINT_LEN(long long, 8)
+# define NATINT_LEN_Q NATINT_LEN(LONG_LONG, 8)
#else
# define NATINT_LEN_Q 8
#endif