Correct some warnings

This commit is contained in:
Mathieu Maret 2024-01-26 22:53:39 +01:00 committed by Mathieu Maret
parent 45ec3c1a7b
commit edbbaec930
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ void stackSymbolSetup(multiboot_info_t *mbi)
} }
/** Look up an address in symbols map and return its function name or NULL. */ /** Look up an address in symbols map and return its function name or NULL. */
static const char *lookupSymbolName(uint32_t addr) const char *lookupSymbolName(uint32_t addr)
{ {
size_t symtab_len = elfSymtabSize / sizeof(Elf32_Sym_t); size_t symtab_len = elfSymtabSize / sizeof(Elf32_Sym_t);

View File

@ -460,7 +460,7 @@ void keyboard_do_irq()
} }
if (key){ if (key){
printf(key); putc(*key);
ringbufferEnqueue(buf, *key); ringbufferEnqueue(buf, *key);
} }
} }