2
0
Jan Janak 20 жил өмнө
parent
commit
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;