Andy Shevchenko, le Wed 27 Mar 2013 17:44:57 +0200, a écrit : > int num; > + if (*p1 == 'x' && !hex2bin((u8 *)&num, p1 + 1, 1)) { That, however, won't fly on big-endian. You need to use a u8 temporary variable and assign it to num afterwards. Samuel