mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Fix false positive truncLongCastAssignment warnings
This commit is contained in:
@@ -183,7 +183,7 @@ long gethugepagesize(void) {
|
||||
hpage_size = -1;
|
||||
} else {
|
||||
/* convert from kb to bytes */
|
||||
hpage_size = 1024 * hpage_kb;
|
||||
hpage_size = 1024L * hpage_kb;
|
||||
}
|
||||
|
||||
return hpage_size;
|
||||
|
Reference in New Issue
Block a user