forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2401d93

Amit Kapila
Fix coverity complaint about commit40d964e.
The coverity complained that dividing integer expressions and thenconverting the integer quotient to type "double" would lose fractionalpart. Typecasting one of the arguments of expression with double shouldfix the report.Author: Mahendra Singh ThalorReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/20200329224818.6phnhv7o2q2rfovf@alap3.anarazel.de1 parent08481ee commit2401d93
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2077 | 2077 |
| |
2078 | 2078 |
| |
2079 | 2079 |
| |
2080 |
| - | |
| 2080 | + | |
2081 | 2081 |
| |
2082 | 2082 |
| |
2083 | 2083 |
| |
|
0 commit comments
Comments
(0)