mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix compiler warning seen on 64-bit machine.
This commit is contained in:
		@@ -832,7 +832,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
				elog(PANIC, "failed to add item of size %u to SPGiST index page",
 | 
			
		||||
					 size);
 | 
			
		||||
					 (int) size);
 | 
			
		||||
 | 
			
		||||
			return offnum;
 | 
			
		||||
		}
 | 
			
		||||
@@ -844,7 +844,7 @@ SpGistPageAddNewItem(SpGistState *state, Page page, Item item, Size size,
 | 
			
		||||
 | 
			
		||||
	if (offnum == InvalidOffsetNumber && !errorOK)
 | 
			
		||||
		elog(ERROR, "failed to add item of size %u to SPGiST index page",
 | 
			
		||||
			 size);
 | 
			
		||||
			 (int) size);
 | 
			
		||||
 | 
			
		||||
	return offnum;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user