Skip to content
Snippets Groups Projects
Commit 71c4e937 authored by Unknown's avatar Unknown
Browse files

fix win build

parent 8f52eb85
No related branches found
No related tags found
No related merge requests found
......@@ -379,10 +379,10 @@ execute_process(
)
if(NOT "${GIT_COMMIT_HASH}" STREQUAL "")
add_definitions("-DGIT_COMMIT_HASH=\"${GIT_COMMIT_HASH}\"")
add_definitions("-DGIT_COMMIT_HASH=${GIT_COMMIT_HASH}")
endif()
if(NOT "${GIT_BRANCH}" STREQUAL "")
add_definitions("-DGIT_BRANCH=\"${GIT_BRANCH}\"")
add_definitions("-DGIT_BRANCH=${GIT_BRANCH}")
endif()
......
#pragma once
#include <inttypes.h>
#include <string>
#include "donate-level.hpp"
......@@ -8,7 +9,7 @@ extern const char ver_short[];
inline std::string get_version_str()
{
return std::string(ver_long) + std::to_string(uint(fDevDonationLevel * 1000)) ;
return std::string(ver_long) + std::to_string(uint32_t(fDevDonationLevel * 1000)) ;
}
inline std::string get_version_str_short()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment