diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2008-09-01 13:26:17 +0000 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-09-01 13:26:17 +0000 |
| commit | 7f84ee73ab81a10bbea9fbac0500a3910a423205 (patch) | |
| tree | 4d84c24a3a9eb1c4e2867a67bce46833bebd880f /configure.in | |
| parent | 8f71bfd4d531ae0c6336c080a1135458853fc584 (diff) | |
| download | evolution-data-server-7f84ee73ab81a10bbea9fbac0500a3910a423205.tar.gz | |
Fix compiler warnings in a couple of the test programs.
2008-09-01 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Fix compiler warnings in a couple of the test programs.
svn path=/trunk/; revision=9463
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f20541e12..4837abbfb 100644 --- a/configure.in +++ b/configure.in @@ -349,8 +349,8 @@ if test $have_iconv = yes; then int main (int argc, char **argv) { - const char *from = "Some Text \xA4"; - const char *utf8 = "Some Text \xC2\xA4"; + char *from = "Some Text \xA4"; + char *utf8 = "Some Text \xC2\xA4"; char *transbuf = malloc (20), *trans = transbuf; iconv_t cd; size_t from_len = strlen (from), utf8_len = 20; @@ -417,6 +417,7 @@ dnl Check to see if strftime supports the use of %l and %k AC_MSG_CHECKING(for %l and %k support in strftime) AC_TRY_RUN([ +#include <stdlib.h> #include <string.h> #include <time.h> |
