From 29052176074f1ef3e405b74d4422f1a4985130a3 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sat, 2 Sep 2006 08:08:05 +0000 Subject: [PATCH] Fixed this o_O --- dlls/sqlite/Makefile | 4 ++++ dlls/sqlite/sqlitepp/SqliteResultSet.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/sqlite/Makefile b/dlls/sqlite/Makefile index 5a88d60f..8991b5ed 100755 --- a/dlls/sqlite/Makefile +++ b/dlls/sqlite/Makefile @@ -102,10 +102,14 @@ default: all clean: rm -rf Release/$(SQL)/*.o + rm -rf Release/sdk/*.o + rm -rf Release/sqlitepp/*.o rm -rf Release/*.o rm -rf Release/$(NAME)_$(BIN_SUFFIX_32) rm -rf Release/$(NAME)_$(BIN_SUFFIX_64) rm -rf Debug/$(SQL)/*.o + rm -rf Debug/sdk/*.o + rm -rf Debug/sqlitepp/*.o rm -rf Debug/*.o rm -rf Debug/$(NAME)_$(BIN_SUFFIX_32) rm -rf Debug/$(NAME)_$(BIN_SUFFIX_64) diff --git a/dlls/sqlite/sqlitepp/SqliteResultSet.cpp b/dlls/sqlite/sqlitepp/SqliteResultSet.cpp index c2d08e55..41aef9de 100644 --- a/dlls/sqlite/sqlitepp/SqliteResultSet.cpp +++ b/dlls/sqlite/sqlitepp/SqliteResultSet.cpp @@ -138,7 +138,7 @@ bool SqliteResultSet::FieldNameToNum(const char *name, unsigned int *columnId) if (columnId) { - *columnId = -1; + *reinterpret_cast(columnId) = -1; } return false;