diff options
author | Yang Tse <yangsita@gmail.com> | 2009-01-28 17:43:11 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-01-28 17:43:11 +0000 |
commit | 6e34c2d59a96b406a76d8922561a9d57c55e0dbc (patch) | |
tree | ba66621e8ee5b505bd41de6e9e7494a347ce1fbc /lib | |
parent | 34b09398d5b53cf8cd5927970abf51955560c3d4 (diff) |
fix compiler warning: conversion from 'int' to 'bool', possible loss of data
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index 09350ecc4..976e5044c 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -204,7 +204,7 @@ static CURLcode tftp_set_timeouts(tftp_state_data_t *state) { time_t maxtime, timeout; long timeout_ms; - const bool start = (state->state == TFTP_STATE_START); + bool start = (bool)(state->state == TFTP_STATE_START); time(&state->start_time); |