mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
. 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:
parent
fd87b99a7e
commit
c704da9e15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266218
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue