From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4DBB05A6.10704@domain.hid> Date: Fri, 29 Apr 2011 20:38:30 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : x86: Fix return type of DO_SYSCALL_INNER macro List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "xenomai@xenomai.org" GIT version control wrote: > Module: xenomai-jki > Branch: for-upstream > Commit: 852c130d16410a597536c39d06b6abd1c9c6c822 > URL: http://git.xenomai.org/?p=3Dxenomai-jki.git;a=3Dcommit;h=3D852c= 130d16410a597536c39d06b6abd1c9c6c822 >=20 > Author: Jan Kiszka > Date: Fri Apr 29 14:12:13 2011 +0200 >=20 > x86: Fix return type of DO_SYSCALL_INNER macro >=20 > gcc will complain about 'conversion to =E2=80=98int=E2=80=99 from =E2=80= =98long int=E2=80=99 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. >=20 > Signed-off-by: Jan Kiszka Should not it be aligned the other way around? Using longs everywhere? In case a syscall returns a pointer? --=20 Gilles.