. Make rlen a size_t instead of an int. Fixes a crash on 64 bit architectures.

Pointed out by:	Nikolay Denev <ndenev@gmail.com>
This commit is contained in:
Greg Lewis 2010-12-13 08:59:52 +00:00
parent fd87b99a7e
commit c704da9e15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266218

View file

@ -13548,7 +13548,7 @@
+#ifdef _ALLBSD_SOURCE
+ jlong result;
+ int mib[2];
+ int rlen;
+ size_t rlen;
+
+ mib[0] = CTL_HW;
+ mib[1] = HW_PHYSMEM;