diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-03-08 07:35:39 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2007-03-08 07:35:39 +0000 |
commit | 99e533f625528726549bd501ae29a43151cca9a9 (patch) | |
tree | c744cb1b439e79ef9ee182e1bf3c1d7e8ca5a8d8 /xdg-user-dirs-update.c | |
parent | 95795e16fa4f62c3767e2763bc64bb3ee8508ba4 (diff) |
2007-03-08 Alexander Larsson <alexl@redhat.com>
* configure.ac:
* xdg-user-dirs-update.c:
Get the right declaration of iconv to avoid warnings.
Diffstat (limited to 'xdg-user-dirs-update.c')
-rw-r--r-- | xdg-user-dirs-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdg-user-dirs-update.c b/xdg-user-dirs-update.c index 888389b..b9c483d 100644 --- a/xdg-user-dirs-update.c +++ b/xdg-user-dirs-update.c @@ -247,7 +247,7 @@ filename_from_utf8 (const char *utf8_path) outp = out; res = iconv (filename_converter, - (char **)&in, &in_left, + (ICONV_CONST char **)&in, &in_left, &outp, &out_left); if (res == (size_t)(-1) && errno == E2BIG) { |