diff options
Diffstat (limited to 'src/sys/core.c')
-rw-r--r-- | src/sys/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/core.c b/src/sys/core.c index ebf50a0..079fc78 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -105,7 +105,7 @@ void postinit(void) write_cstring(&g_Drawer, os_info_v, 0x00FFFF); write_string(&g_Drawer, " #"); if (lock_mutex(&exe_cnt_m, SYS_PID) == 0) { - write_10(&g_Drawer, *(exe_cnt_m.addr)); + write_10(&g_Drawer, *((unsigned long*)exe_cnt_m.addr)); release_mutex(&exe_cnt_m, SYS_PID); } |