forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9bc9b46
committed
Fix compiler warning in fe-trace.c for MSVC
It seems that in MSVC timeval's tv_sec field is of type long.localtime() takes a time_t pointer. Since long is 32-bit even on 64-bitbuilds in MSVC, passing a long pointer instead of the correct time_tpointer generated a compiler warning. Fix that.Reviewed-by: Tom LaneDiscussion:https://postgr.es/m/CAApHDvoRG25X_=ZCGSPb4KN_j2iu=G2uXsRSg8NBZeuhkOSETg@mail.gmail.com1 parenta2da77c commit9bc9b46
1 file changed
+10
-1
lines changedLines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| 83 | + | |
83 | 84 |
| |
84 | 85 |
| |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
85 | 94 |
| |
86 | 95 |
| |
87 |
| - | |
| 96 | + | |
88 | 97 |
| |
89 | 98 |
| |
90 | 99 |
| |
|
0 commit comments
Comments
(0)