Fixed compiler warnings
SVN revision: 1640
This commit is contained in:
+3
-3
@@ -1292,7 +1292,7 @@ Encode the given string in-place by adding %XX escapes
|
||||
}
|
||||
}
|
||||
*pd = '\0';
|
||||
strlcpy(ps, str, size);
|
||||
strlcpy(ps, (char *)str, size);
|
||||
}
|
||||
|
||||
void url_slash_encode(char *ps, int size)
|
||||
@@ -1318,7 +1318,7 @@ Do the same including '/' characters
|
||||
}
|
||||
}
|
||||
*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';
|
||||
strlcpy(ps, str, size);
|
||||
strlcpy(ps, (char *)str, size);
|
||||
}
|
||||
|
||||
void btou(char *str)
|
||||
|
||||
Reference in New Issue
Block a user