From b147b68ed3924960c4340585958adae5fceb5500 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Mon, 15 May 2006 15:50:11 +0000 Subject: [PATCH] Fix warning --- golded3/geline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golded3/geline.cpp b/golded3/geline.cpp index 62d9606..13f22d5 100644 --- a/golded3/geline.cpp +++ b/golded3/geline.cpp @@ -1774,7 +1774,7 @@ char* XlatStr(char* dest, const char* src, int level, Chs* chrtbl, int qpencoded ChsTab* chrs = chrtbl ? chrtbl->t : (ChsTab*)NULL; #ifdef HAS_ICONV - size_t iconvrc=-1; + size_t iconvrc=(size_t)(-1); if( iconv_cd!=(iconv_t)(-1) ){ iconvrc=iconv( iconv_cd, NULL, NULL, NULL, NULL ); // init iconv }