aboutsummaryrefslogtreecommitdiff
path: root/src/mutex_os2.c
diff options
context:
space:
mode:
authorpweilbacher <pweilbacher@noemail.net>2008-11-22 19:50:53 +0000
committerpweilbacher <pweilbacher@noemail.net>2008-11-22 19:50:53 +0000
commitc06b54fe593aa38cbc52107c54a5b4650d9950f1 (patch)
treef70666fbecd5bdfc5701cd9b86a2009a4d47a56c /src/mutex_os2.c
parent17d46fc7f11b40ee9498e3302c9d0ae281dfbad8 (diff)
downloadsqlite-c06b54fe593aa38cbc52107c54a5b4650d9950f1.tar.gz
sqlite-c06b54fe593aa38cbc52107c54a5b4650d9950f1.zip
fix the compile warnings on OS/2 (CVS 5950)
FossilOrigin-Name: b7d0ec838b806e7b2532bef1d59279c32fb206d3
Diffstat (limited to 'src/mutex_os2.c')
-rw-r--r--src/mutex_os2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_os2.c b/src/mutex_os2.c
index 6a4437088..15ffd2c9f 100644
--- a/src/mutex_os2.c
+++ b/src/mutex_os2.c
@@ -11,7 +11,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for OS/2
**
-** $Id: mutex_os2.c,v 1.10 2008/06/23 22:13:28 pweilbacher Exp $
+** $Id: mutex_os2.c,v 1.11 2008/11/22 19:50:54 pweilbacher Exp $
*/
#include "sqliteInt.h"
@@ -122,7 +122,7 @@ static sqlite3_mutex *os2MutexAlloc(int iType){
mutex = 0;
rc = DosCreateMutexSem( name, &mutex, 0, FALSE);
if( rc == NO_ERROR ){
- int i;
+ unsigned int i;
if( !isInit ){
for( i = 0; i < sizeof(staticMutexes)/sizeof(staticMutexes[0]); i++ ){
DosCreateMutexSem( 0, &staticMutexes[i].mutex, 0, FALSE );