From: tetetest tetetest Date: Thu, 29 Mar 2012 19:10:30 +0000 (+0200) Subject: CMakeLists.txt: fix MS Visual Studio x64 unsigned long long literal suffix X-Git-Tag: curl-7_26_0~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d1b715605d4ae4970851ee1439740efe9ac04fe;p=curl CMakeLists.txt: fix MS Visual Studio x64 unsigned long long literal suffix bug: http://curl.haxx.se/mail/lib-2012-03/0255.html --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 88dd1ee6c..5d60a56a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -426,7 +426,7 @@ if(SIZEOF_LONG EQUAL 8) set(CURL_FORMAT_CURL_OFF_TU "lu") set(CURL_FORMAT_OFF_T "%ld") set(CURL_SUFFIX_CURL_OFF_T L) - set(CURL_SUFFIX_CURL_OFF_TU LU) + set(CURL_SUFFIX_CURL_OFF_TU UL) endif(SIZEOF_LONG EQUAL 8) if(SIZEOF_LONG_LONG EQUAL 8) @@ -436,7 +436,7 @@ if(SIZEOF_LONG_LONG EQUAL 8) set(CURL_FORMAT_CURL_OFF_TU "llu") set(CURL_FORMAT_OFF_T "%lld") set(CURL_SUFFIX_CURL_OFF_T LL) - set(CURL_SUFFIX_CURL_OFF_TU LLU) + set(CURL_SUFFIX_CURL_OFF_TU ULL) endif(SIZEOF_LONG_LONG EQUAL 8) if(NOT CURL_TYPEOF_CURL_OFF_T)