]> granicus.if.org Git - gc/commit
Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Feb 2016 07:23:55 +0000 (10:23 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 17 Feb 2016 07:23:55 +0000 (10:23 +0300)
commit39e2468124f7fdf40a7241fa865c35d79dc6a324
tree0e3dc16d9a94e09ed1001b7a5f22143b30bbd903
parent3883587204afd0415ee78a49da2e79de34ea05ac
Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize

* include/private/gcconfig.h (GETPAGESIZE): Cast getpagesize() and
sysconf() result to unsigned int.
* tools/setjmp_t.c (main): Change type of "ps" local variable from
long to unsigned int.
include/private/gcconfig.h
tools/setjmp_t.c