sparc: fix some 64bit intolerant code

Change-Id: I90bea483d7cf18696a6d5d2f18e8cada409884a2
Reviewed-on: https://review.haiku-os.org/c/1325
Reviewed-by: Alex von Gluck IV <[email protected]>
This commit is contained in:
PulkoMandy
2019-03-30 15:23:15 +00:00
committed by waddlesplash
parent ddf7e72f86
commit 5ef707395a
2 changed files with 2 additions and 2 deletions
@@ -205,7 +205,7 @@ platform_add_block_devices(stage2_args *args, NodeList *devicesList)
printf("\t%s\n", path);
int handle = of_open(path);
intptr_t handle = of_open(path);
if (handle == OF_FAILED) {
puts("\t\t(failed)");
continue;
@@ -116,7 +116,7 @@ platform_start_kernel(void)
status_t error = arch_start_kernel(&gKernelArgs, kernelEntry, stackTop);
panic("Kernel returned! Return value: %ld\n", error);
panic("Kernel returned! Return value: %" B_PRId32 "\n", error);
}