mirror of
				https://git.wownero.com/wownero/RandomWOW.git
				synced 2024-08-15 00:23:14 +00:00 
			
		
		
		
	Fixed compiler warning
``` virtual_memory.c:210:14: warning: type defaults to 'int' in declaration of 'pageMinimum' [-Wimplicit-int] ```
This commit is contained in:
		
							parent
							
								
									09aa65c3c7
								
							
						
					
					
						commit
						00472c54ef
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -206,8 +206,8 @@ void* allocLargePagesMemory(size_t bytes) { | |||
| #if defined(_WIN32) || defined(__CYGWIN__) | ||||
| 	if (setPrivilege("SeLockMemoryPrivilege", 1, &errfunc)) | ||||
| 		return NULL; | ||||
| 	auto pageMinimum = GetLargePageMinimum(); | ||||
| 	if (pageMinimum <= 0) { | ||||
| 	size_t pageMinimum = GetLargePageMinimum(); | ||||
| 	if (!pageMinimum) { | ||||
| 		errfunc = "No large pages"; | ||||
| 		return NULL; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue