1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove compiler warnings

This commit is contained in:
Stefan Lankes 2017-05-20 09:04:23 +02:00
parent 91d5fc187c
commit 3138d999dd

View file

@ -175,7 +175,7 @@ static uint32_t get_frequency_from_mbinfo(void)
if (mb_info && (mb_info->flags & MULTIBOOT_INFO_CMDLINE))
{
// search in the command line for cpu frequency
char* found = strstr((char*) mb_info->cmdline, "-freq");
char* found = strstr((char*) (size_t)mb_info->cmdline, "-freq");
if (!found)
return 0;