eina: avoid wrong implicit conversion from unsigned to unsigned long in Eina_Value...
authorcedric <cedric>
Thu, 17 May 2012 09:59:46 +0000 (09:59 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 17 May 2012 09:59:46 +0000 (09:59 +0000)
commit02949658a59fcb8d5862b8e6ac9558e7c48b8526
tree5566989c08a1d3e95e31d4b8be68cbd8662846b9
parentdaec48d3a5862c0f0f7334fa52736ea3826a63bf
eina: avoid wrong implicit conversion from unsigned to unsigned long in Eina_Value tests

There is no automatic promotion of unsigned to unsigned long when using va_arg,
which means it is illegal to pass an 'unsigned' value and then use it as an
unsigned long in eina_arg_vset. Doing so yields incorrect results on some
architectures like itanium

Patch by  Albin 'Lutin' Tonnerre <albin.tonnerre@gmail.com>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@71196 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
ChangeLog
NEWS
src/tests/eina_test_value.c