Skip to contentSkip to conversation

fix warning under 2.4

PATCH Applied Jan Kiszka 2 participants 2 messages Jun 18, 2006

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 fix warning under 2.4

Hi Gilles,

this patch avoids type-mismatch warning when building for 2.4.

Jan

skins/posix/syscall.c (Arbeitskopie) renamed from skins/posix/syscall.c (Revision 1222) +1 -1
@@ -1229,7 +1229,7 @@ static int __pthread_condattr_getclock(s
 
        uattrp = (pthread_condattr_t *) __xn_reg_arg1(regs);
 
-       uclockp = (int *) __xn_reg_arg2(regs);
+       uclockp = (clockid_t *) __xn_reg_arg2(regs);
 
        if (!__xn_access_ok
            (curr, VERIFY_READ, (void __user *)uattrp, sizeof(*uattrp)))
#1 lore raw
Quoted 5 lines · Jan Kiszka

Hi Gilles,

this patch avoids type-mismatch warning when building for 2.4.

Jan

Applied, thanks.

Signature · 1 line
					    Gilles Chanteperdrix.