diff options
Diffstat (limited to 'arch/sparc/kernel/sys_sparc_64.c')
-rw-r--r-- | arch/sparc/kernel/sys_sparc_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/sys_sparc_64.c b/arch/sparc/kernel/sys_sparc_64.c index b489e9759518..fe8b8ee8e660 100644 --- a/arch/sparc/kernel/sys_sparc_64.c +++ b/arch/sparc/kernel/sys_sparc_64.c | |||
@@ -337,10 +337,10 @@ SYSCALL_DEFINE6(sparc_ipc, unsigned int, call, int, first, unsigned long, second | |||
337 | switch (call) { | 337 | switch (call) { |
338 | case SEMOP: | 338 | case SEMOP: |
339 | err = sys_semtimedop(first, ptr, | 339 | err = sys_semtimedop(first, ptr, |
340 | (unsigned)second, NULL); | 340 | (unsigned int)second, NULL); |
341 | goto out; | 341 | goto out; |
342 | case SEMTIMEDOP: | 342 | case SEMTIMEDOP: |
343 | err = sys_semtimedop(first, ptr, (unsigned)second, | 343 | err = sys_semtimedop(first, ptr, (unsigned int)second, |
344 | (const struct timespec __user *) | 344 | (const struct timespec __user *) |
345 | (unsigned long) fifth); | 345 | (unsigned long) fifth); |
346 | goto out; | 346 | goto out; |