aboutsummaryrefslogtreecommitdiff
path: root/dpi/dpiutil.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-08-12 22:24:37 +0200
committerjcid <devnull@localhost>2008-08-12 22:24:37 +0200
commit50b3b7b3e576bfcb8682ce7d4b0eb15086c214b4 (patch)
tree8dcfb49b2dc4a3d650bf8cbba160e057ae4fa0bd /dpi/dpiutil.c
parent9eba6c5572de8bfe82606206e8a44a403d936f32 (diff)
- Eliminated gcc 4.2.3 warnings on 64bit OS.
Diffstat (limited to 'dpi/dpiutil.c')
-rw-r--r--dpi/dpiutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dpi/dpiutil.c b/dpi/dpiutil.c
index c5dcf45c..b1affe95 100644
--- a/dpi/dpiutil.c
+++ b/dpi/dpiutil.c
@@ -33,10 +33,10 @@
* Escape URI characters in 'esc_set' as %XX sequences.
* Return value: New escaped string.
*/
-char *Escape_uri_str(const char *str, char *p_esc_set)
+char *Escape_uri_str(const char *str, const char *p_esc_set)
{
- static const char *hex = "0123456789ABCDEF";
- char *p, *esc_set;
+ static const char *esc_set, *hex = "0123456789ABCDEF";
+ char *p;
Dstr *dstr;
int i;