Fossil SCM

Fix compiler warning on MSVC.

mistachkin 2014-02-15 05:57 trunk
Commit 783a2a1b73082ca10dd910bf32c9c94d753e260d
1 file changed +1 -1
+1 -1
--- src/report.c
+++ src/report.c
@@ -925,11 +925,11 @@
925925
if( xCallback(pArg, nCol, azVals, azCols) ){
926926
break;
927927
}
928928
}
929929
rc = sqlite3_finalize(pStmt);
930
- fossil_free(azVals);
930
+ fossil_free((void *)azVals);
931931
return rc;
932932
}
933933
934934
/*
935935
** Output Javascript code that will enables sorting of the table with
936936
--- src/report.c
+++ src/report.c
@@ -925,11 +925,11 @@
925 if( xCallback(pArg, nCol, azVals, azCols) ){
926 break;
927 }
928 }
929 rc = sqlite3_finalize(pStmt);
930 fossil_free(azVals);
931 return rc;
932 }
933
934 /*
935 ** Output Javascript code that will enables sorting of the table with
936
--- src/report.c
+++ src/report.c
@@ -925,11 +925,11 @@
925 if( xCallback(pArg, nCol, azVals, azCols) ){
926 break;
927 }
928 }
929 rc = sqlite3_finalize(pStmt);
930 fossil_free((void *)azVals);
931 return rc;
932 }
933
934 /*
935 ** Output Javascript code that will enables sorting of the table with
936

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button