mirror of
https://github.com/remko/waforth
synced 2025-01-14 08:01:34 +01:00
waforthc/rt: Fix Linux warning
This commit is contained in:
parent
2bbcb4d6bb
commit
cdb3363b83
1 changed files with 1 additions and 1 deletions
|
@ -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_) {
|
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_];
|
char *addr = (char *)&mod->memory->data[addr_];
|
||||||
int n = 0;
|
int n = 0;
|
||||||
if (sizeof(waforth_init) == 0) {
|
if (sizeof(waforth_init) == 0) {
|
||||||
|
|
Loading…
Reference in a new issue