diff --git a/libnx/src/syscall.c b/libnx/src/syscall.c index 8c2147e..426f1ae 100644 --- a/libnx/src/syscall.c +++ b/libnx/src/syscall.c @@ -112,7 +112,7 @@ uint64_t nx_drv_register(uint64_t fd) { } uint64_t nx_drv_init(void* conf) { - return syscall_perform(NX_DRV_INIT, (uint64_t#)conf, 0, 0, 0); + return syscall_perform(NX_DRV_INIT, (uint64_t)conf, 0, 0, 0); } uint64_t nx_drv_create_command_buffer(void* addr, uint64_t len) {