On Thu, 3 May 2012 00:39:15 +0300, Sakari Ailus <sakari.ailus@xxxxxx> wrote: > - ppc64: int is 64 bits there, and thus also enums, Really? (e)glibc assumes that signed int and unsigned int are 32-bits on all platforms. From bits/types.h: typedef signed int __int32_t; typedef unsigned int __uint32_t; > - C does not specify which integer type enums actually use; this is what > GCC manual says about it: The Linux ABI, at least as defined in GCC, requires 'short enums' be disabled, even on ARM. So enums should always be unsigned or int with gcc, thus with V4L2 code. -- Rémi Denis-Courmont -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html