Jan Janak пре 20 година
родитељ
комит
f7760ec97b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      ut.h

+ 1 - 1
ut.h

@@ -100,7 +100,7 @@ static char fourbits2char[16] = { '0', '1', '2', '3', '4', '5',
 /* converts a str to an u. short, returns the u. short and sets *err on
  * error and if err!=null
   */
-static inline unsigned short str2s(char* s, unsigned int len,
+static inline unsigned short str2s(const char* s, unsigned int len,
 									int *err)
 {
 	unsigned short ret;