summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/utils
diff options
context:
space:
mode:
Diffstat (limited to '2004/i/nono/src/utils')
-rw-r--r--2004/i/nono/src/utils/hexa.cc4
-rw-r--r--2004/i/nono/src/utils/hexa.h4
2 files changed, 4 insertions, 4 deletions
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
diff --git a/2004/i/nono/src/utils/hexa.h b/2004/i/nono/src/utils/hexa.h
index cdae943..54ee9dc 100644
--- a/2004/i/nono/src/utils/hexa.h
+++ b/2004/i/nono/src/utils/hexa.h
@@ -32,9 +32,9 @@ int hex2digit (char c);
char digit2hex (int d);
/// Décode un mot signé (1 octets).
-int hexSignedChar2int (const char *s) const;
+int hexSignedChar2int (const char *s);
/// Décode un mot signé (2 octets).
-int hexSignedShort2int (const char *s) const;
+int hexSignedShort2int (const char *s);
#endif // hexa_h