1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-23 20:23:50 +03:00

Fix up some compile issues. We can't have C99 comments and add a smattering

of const.
This commit is contained in:
Andrew Bartlett
-
parent 604468c6ee
commit af53e774d7
2 changed files with 3 additions and 3 deletions

View File

@@ -786,7 +786,7 @@ void init_buf_unistr2(UNISTR2 *str, uint32 *ptr, const char *buf)
Copies a UNISTR2 structure.
********************************************************************/
void copy_unistr2(UNISTR2 *str, UNISTR2 *from)
void copy_unistr2(UNISTR2 *str, const UNISTR2 *from)
{
/* set up string lengths. add one if string is not null-terminated */