Skip to content

Commit 0d07232

Browse files
author
D. Richard Hipp
committed
Fix harmless compiler warning in the vfstrace extension.
1 parent d96d622 commit 0d07232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/misc/vfstrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ static const char *lockName(int eLock){
416416
const char *azLockNames[] = {
417417
"NONE", "SHARED", "RESERVED", "PENDING", "EXCLUSIVE"
418418
};
419-
if( eLock<0 || eLock>=sizeof(azLockNames)/sizeof(azLockNames[0]) ){
419+
if( eLock<0 || eLock>=(int)(sizeof(azLockNames)/sizeof(azLockNames[0])) ){
420420
return "???";
421421
}else{
422422
return azLockNames[eLock];

0 commit comments

Comments
 (0)