From: | Hannes Eder <Hannes(at)HannesEder(dot)net> |
---|---|
To: | teodor(at)sigaev(dot)ru |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org |
Subject: | minor compiler warning in backend/utils/adt/tsrank.c |
Date: | 2007-09-20 12:06:08 |
Message-ID: | 46F26230.5090302@HannesEder.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
while rebuilding postgres with msvc 2005 I noticed some minor compiler
warnings:
.\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
truncation from 'double' to 'float'
.\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
truncation from 'double' to 'float'
.\src\backend\utils\adt\tsrank.c(24): warning C4305: 'initializing' :
truncation from 'double' to 'float'
.\src\backend\utils\adt\tsrank.c(46): warning C4305: 'return' :
truncation from 'double' to 'float4'
.\src\backend\utils\adt\tsrank.c(339): warning C4305: '=' : truncation
from 'double' to 'float'
see attached diff
-Hannes
Attachment | Content-Type | Size |
---|---|---|
tsrank.c-200709201.diff | text/plain | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Pihlak | 2007-09-20 13:08:58 | Re: stored procedure stats in collector |
Previous Message | Hannes Eder | 2007-09-20 12:05:57 | compiler warnings in ecpglib/execute.c (uninitialized local variable 'prepname' used) |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2007-09-20 13:42:20 | Re: like/ilike improvements |
Previous Message | Guillaume Smet | 2007-09-20 08:38:48 | Re: like/ilike improvements |