Fixing signed/unsigned comparisons
This commit is contained in:
		
							parent
							
								
									cba3c46820
								
							
						
					
					
						commit
						bf94866ec0
					
				@ -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;
 | 
			
		||||
@ -58,7 +58,7 @@ struct RouteParameters {
 | 
			
		||||
        deprecatedAPI = true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void setChecksum(const int c) {
 | 
			
		||||
    void setChecksum(const unsigned c) {
 | 
			
		||||
        checkSum = c;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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") == "")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user