From 4b1255944d0fe58e700681b52512f1d62405d9ec Mon Sep 17 00:00:00 2001 From: schodet Date: Sat, 17 Apr 2004 17:12:33 +0000 Subject: Nouvelle version du protocol asservissement. --- 2004/i/nono/src/utils/hexa.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2004/i/nono/src/utils/hexa.cc') diff --git a/2004/i/nono/src/utils/hexa.cc b/2004/i/nono/src/utils/hexa.cc index ab43f64..fbcf4e9 100644 --- a/2004/i/nono/src/utils/hexa.cc +++ b/2004/i/nono/src/utils/hexa.cc @@ -64,7 +64,7 @@ digit2hex (int d) /// Décode un mot signé (1 octets). int -hexSignedChar2int (const char *s) const +hexSignedChar2int (const char *s) { return (signed char) (hex2digit (s[0]) << 4 | hex2digit (s[1]) << 0); @@ -72,7 +72,7 @@ hexSignedChar2int (const char *s) const /// Décode un mot signé (2 octets). int -hexSignedShort2int (const char *s) const +hexSignedShort2int (const char *s) { return (short) (hex2digit (s[0]) << 12 | hex2digit (s[1]) << 8 -- cgit v1.2.3