GIT version control wrote:
> Module: xenomai-jki
> Branch: for-upstream
> Commit: 852c130d16410a597536c39d06b6abd1c9c6c822
> URL:    
> http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=852c130d16410a597536c39d06b6abd1c9c6c822
> 
> Author: Jan Kiszka <[email protected]>
> Date:   Fri Apr 29 14:12:13 2011 +0200
> 
> x86: Fix return type of DO_SYSCALL_INNER macro
> 
> gcc will complain about 'conversion to ‘int’ from ‘long int’ may alter
> its value' with -Wconversion as DO_SYSCALL treats the return value of
> DO_SYSCALL_INNER as int. Align DO_SYSCALL_INNER to its user.
> 
> Signed-off-by: Jan Kiszka <[email protected]>

Should not it be aligned the other way around? Using longs everywhere?
In case a syscall returns a pointer?

-- 
                                                                Gilles.


_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core

Reply via email to