waforthc/rt: Fix Linux warning

This commit is contained in:
Remko Tronçon 2022-11-12 17:22:51 +01:00
parent 2bbcb4d6bb
commit cdb3363b83

View file

@ -26,7 +26,7 @@ void Z_shellZ_emit(struct Z_shell_instance_t *mod, u32 c) {
}
u32 Z_shellZ_read(struct Z_shell_instance_t *mod, u32 addr_, u32 len_) {
unsigned long len = len_;
size_t len = len_;
char *addr = (char *)&mod->memory->data[addr_];
int n = 0;
if (sizeof(waforth_init) == 0) {