diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2007-05-09 14:37:44 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2007-05-09 14:37:44 +0000 |
commit | c72478ce90d83e355ad7782991d20cbbd2664fd3 (patch) | |
tree | da172589b72c9d2c5b1d2311d50b7a60d55585b5 /src/rcciconv.c | |
parent | 8ca43646a6c87d00d5b2cb74cebf65a8d0ea5e8e (diff) | |
download | librcc-c72478ce90d83e355ad7782991d20cbbd2664fd3.tar.gz librcc-c72478ce90d83e355ad7782991d20cbbd2664fd3.tar.bz2 librcc-c72478ce90d83e355ad7782991d20cbbd2664fd3.tar.xz librcc-c72478ce90d83e355ad7782991d20cbbd2664fd3.zip |
FreeBSD fixes
- Autoconf: try to locate libraries in /usr/local
- Autoconf: Help FreeBSD to locate BerkeleyDB
- Autoconf: Search for dlopen in libc library
- Autoconf: Support of --disable-bdb option is added to configure script
- Fixed compilation with missing dlopen functionality
- Suppress various warnings
Diffstat (limited to 'src/rcciconv.c')
-rw-r--r-- | src/rcciconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcciconv.c b/src/rcciconv.c index 6d3d1b0..3037dc2 100644 --- a/src/rcciconv.c +++ b/src/rcciconv.c @@ -74,7 +74,7 @@ loop_restart: out_left = outsize; loop: - err=iconv(icnv->icnv, &in_buf, &in_left, &out_buf, &out_left); + err=iconv(icnv->icnv, (const char**)&in_buf, &in_left, &out_buf, &out_left); if (err<0) { if (errno==E2BIG) { *(int*)(outbuf+(RCC_MAX_STRING_CHARS-sizeof(int)))=0; |