1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/zlib/zlib.c (sizeof): zlib.h mistakenly assumes the result

of sizeof to be int, not size_t.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-12-31 02:16:00 +00:00
parent 095c2deca0
commit cf1cc4bd8b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Dec 31 11:15:57 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/zlib/zlib.c (sizeof): zlib.h mistakenly assumes the result
of sizeof to be int, not size_t.
Fri Dec 31 10:27:34 2010 Tanaka Akira <akr@fsij.org>
* st.c: parenthesize macro arguments.

View file

@ -42,6 +42,7 @@
#endif
#endif
#define sizeof(x) ((int)sizeof(x))
/*--------- Prototypes --------*/