Type fixing for ARM (e.g. Raspberry Pis)
This commit is contained in:
		
							parent
							
								
									c207ee8b25
								
							
						
					
					
						commit
						f8a1631fc4
					
				@ -160,7 +160,12 @@ int main(int argc, char** argv) {
 | 
				
			|||||||
    // Process options
 | 
					    // Process options
 | 
				
			||||||
    std::string user_id = ""; // ID of the receiving user
 | 
					    std::string user_id = ""; // ID of the receiving user
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __arm__
 | 
				
			||||||
 | 
					    int c;
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
    char c;
 | 
					    char c;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    while ((c = getopt(argc, argv, "u:")) != -1) {
 | 
					    while ((c = getopt(argc, argv, "u:")) != -1) {
 | 
				
			||||||
      switch(c) {
 | 
					      switch(c) {
 | 
				
			||||||
      case 'u':
 | 
					      case 'u':
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user