Andy Shevchenko, le Tue 09 Apr 2013 15:13:09 +0300, a écrit : > > > + if (*p1 == 'x' && !hex2bin(&num, p1 + 1, 1)) { > > > > Count should be 2, shouldn't it? > > Actually, no. It means bytes in the result. Ah, right. > If I got it correctly the original code translates '\xNN' into NN which > is exactly one byte. Yes. Samuel _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel