From bb2abb2c09e4967eeb7cc438ab6b1ed9e761f4c6 Mon Sep 17 00:00:00 2001 From: drh Date: Thu, 5 Oct 2006 11:43:53 +0000 Subject: Fix another UTF conversion problem on x64. Ticket #2008. (CVS 3466) FossilOrigin-Name: d16523e555afa1e6e89409f614fd665261fa3865 --- src/utf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/utf.c b/src/utf.c index 55a089688..05a8985e2 100644 --- a/src/utf.c +++ b/src/utf.c @@ -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.41 2006/10/04 15:23:22 drh Exp $ +** $Id: utf.c,v 1.42 2006/10/05 11:43:53 drh Exp $ ** ** Notes on UTF-8: ** @@ -556,7 +556,7 @@ void sqlite3utf16Substr( ** characters in each encoding are inverses of each other. */ void sqlite3utfSelfTest(){ - int i; + unsigned int i; unsigned char zBuf[20]; unsigned char *z; int n; -- cgit v1.2.3