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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user