mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 00:05:29 -04:00 
			
		
		
		
	Fix casting in error message for two-phase file
This error from from 811b6e3, which causes compilation warnings with OSX 10.3 and clang. Reported by Tom Lane, via buildfarm member longfin.
This commit is contained in:
		
							parent
							
								
									811b6e36a9
								
							
						
					
					
						commit
						8bd064f0c7
					
				| @ -1295,7 +1295,7 @@ ReadTwoPhaseFile(TransactionId xid, bool give_warnings) | ||||
| 			else | ||||
| 				ereport(WARNING, | ||||
| 						(errmsg("could not read file \"%s\": read %d of %zu", | ||||
| 								path, r, stat.st_size))); | ||||
| 								path, r, (Size) stat.st_size))); | ||||
| 		} | ||||
| 		pfree(buf); | ||||
| 		return NULL; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user