UNICODE byte ordering issue: typecast to uint16* replaced with SSVAL()
[samba.git] / source / include / proto.h
index 301fcbe755e43c354c1f7fe5fdfb18a49401f21e..8f2d73f95fab6b585a07b2cafb9a3fc02a993372 100644 (file)
@@ -566,13 +566,13 @@ void split_at_last_component(char *path, char *front, char sep, char *back);
 
 int PutUniCode(char *dst,char *src);
 char *skip_unicode_string(char *buf,int n);
-char *unistrn2(uint16 *buf, int len);
+char *unistrn2(char *buf, int len);
 char *unistr2(uint16 *buf);
 char *unistr2_to_str(UNISTR2 *str);
 uint32 buffer2_to_uint32(BUFFER2 *str);
 char *buffer2_to_str(BUFFER2 *str);
 char *buffer2_to_multistr(BUFFER2 *str);
-int struni2(uint16 *p, const char *buf);
+int struni2(char *p, const char *buf);
 char *unistr(char *buf);
 int unistrcpy(char *dst, char *src);