Skip to content

Commit

Permalink
Fixing signed/unsigned comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Dec 23, 2012
1 parent cba3c46 commit bf94866
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Plugins/RouteParameters.h
Expand Up @@ -36,7 +36,7 @@ struct RouteParameters {
bool geometry;
bool compression;
bool deprecatedAPI;
int checkSum;
unsigned checkSum;
std::string service;
std::string outputFormat;
std::string jsonpParameter;
Expand All @@ -58,7 +58,7 @@ struct RouteParameters {
deprecatedAPI = true;
}

void setChecksum(const int c) {
void setChecksum(const unsigned c) {
checkSum = c;
}

Expand Down
2 changes: 1 addition & 1 deletion Server/ServerFactory.h
Expand Up @@ -61,7 +61,7 @@ struct ServerFactory {
ERR("file index file not found");
}

unsigned threads = omp_get_num_procs();
int threads = omp_get_num_procs();
if(serverConfig.GetParameter("IP") == "")
serverConfig.SetParameter("IP", "0.0.0.0");
if(serverConfig.GetParameter("Port") == "")
Expand Down

0 comments on commit bf94866

Please sign in to comment.