diff options
author | shane <shane@noemail.net> | 2009-03-31 03:41:56 +0000 |
---|---|---|
committer | shane <shane@noemail.net> | 2009-03-31 03:41:56 +0000 |
commit | b08a67a77237cd2b8d46bb1696980d90cafcb3f8 (patch) | |
tree | 07ff63a24db3c7cd55f01648de5b9df43ccdbc0b /src/utf.c | |
parent | 86655a1d2a16a82ee8f6547273ca529279002124 (diff) | |
download | sqlite-b08a67a77237cd2b8d46bb1696980d90cafcb3f8.tar.gz sqlite-b08a67a77237cd2b8d46bb1696980d90cafcb3f8.zip |
Fix compiler warnings from gcc and MSVC; Correct typo in select.c; (CVS 6417)
FossilOrigin-Name: 768514179a63783c4e70b931d1697403c04bedf5
Diffstat (limited to 'src/utf.c')
-rw-r--r-- | src/utf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ ** This file contains routines used to translate between UTF-8, ** UTF-16, UTF-16BE, and UTF-16LE. ** -** $Id: utf.c,v 1.70 2008/12/10 22:30:25 shane Exp $ +** $Id: utf.c,v 1.71 2009/03/31 03:41:57 shane Exp $ ** ** Notes on UTF-8: ** @@ -417,7 +417,7 @@ int sqlite3Utf8To8(unsigned char *zIn){ } } *zOut = 0; - return zOut - zStart; + return (int)(zOut - zStart); } #endif |