mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed compiler warnings
SVN revision: 1640
This commit is contained in:
parent
2c4bd8fa44
commit
3dea50aa09
@ -1292,7 +1292,7 @@ Encode the given string in-place by adding %XX escapes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*pd = '\0';
|
*pd = '\0';
|
||||||
strlcpy(ps, str, size);
|
strlcpy(ps, (char *)str, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void url_slash_encode(char *ps, int size)
|
void url_slash_encode(char *ps, int size)
|
||||||
@ -1318,7 +1318,7 @@ Do the same including '/' characters
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*pd = '\0';
|
*pd = '\0';
|
||||||
strlcpy(ps, str, size);
|
strlcpy(ps, (char *)str, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------------------------------------*/
|
/*-------------------------------------------------------------------*/
|
||||||
@ -1342,7 +1342,7 @@ Encode the given string in-place by adding \\ escapes for `$"\
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*pd = '\0';
|
*pd = '\0';
|
||||||
strlcpy(ps, str, size);
|
strlcpy(ps, (char *)str, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void btou(char *str)
|
void btou(char *str)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user