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:
parent
91d5fc187c
commit
3138d999dd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue