From c5c1d520477f71869ed38342710aa06144e88eaa Mon Sep 17 00:00:00 2001 From: doomchild Date: Mon, 30 Aug 2010 12:36:40 -0500 Subject: [PATCH 1/2] fixed spelling of BUILD_DFHACK_C_BINDINGS --- library/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 6bd4815a6..353a418cf 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -134,10 +134,10 @@ ELSE(UNIX) LIST(APPEND PROJECT_SRCS ${PROJECT_SRCS_WINDOWS}) ENDIF(UNIX) -IF(BUILD_DFHACK_C_BINDIGS) +IF(BUILD_DFHACK_C_BINDINGS) LIST(APPEND PROJECT_HDRS ${PROJECT_C_HDRS}) LIST(APPEND PROJECT_SRCS ${PROJECT_C_SRCS}) -ENDIF(BUILD_DFHACK_C_BINDIGS) +ENDIF(BUILD_DFHACK_C_BINDINGS) SET_SOURCE_FILES_PROPERTIES( ${PROJECT_HDRS} PROPERTIES HEADER_FILE_ONLY TRUE ) From 95166d39a2e64840c1f8a58ab53c80995b3cd11f Mon Sep 17 00:00:00 2001 From: doomchild Date: Mon, 30 Aug 2010 12:37:13 -0500 Subject: [PATCH 2/2] changed uint to uint32_t in declaration of VersionInfo::getPE() --- library/include/dfhack/VersionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/include/dfhack/VersionInfo.h b/library/include/dfhack/VersionInfo.h index 458a2c5af..84a7087da 100644 --- a/library/include/dfhack/VersionInfo.h +++ b/library/include/dfhack/VersionInfo.h @@ -108,7 +108,7 @@ namespace DFHack std::string getMD5(); void setPE (uint32_t PE_); - uint getPE(); + uint32_t getPE(); std::string getMood(const uint32_t moodID); std::string getString (const std::string&);