Browse code

- char* -> const char*

Jan Janak authored on 02/02/2005 19:10:49
Showing 1 changed files
... ...
@@ -100,7 +100,7 @@ static char fourbits2char[16] = { '0', '1', '2', '3', '4', '5',
100 100
 /* converts a str to an u. short, returns the u. short and sets *err on
101 101
  * error and if err!=null
102 102
   */
103
-static inline unsigned short str2s(char* s, unsigned int len,
103
+static inline unsigned short str2s(const char* s, unsigned int len,
104 104
 									int *err)
105 105
 {
106 106
 	unsigned short ret;