aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-01-28 17:43:11 +0000
committerYang Tse <yangsita@gmail.com>2009-01-28 17:43:11 +0000
commit6e34c2d59a96b406a76d8922561a9d57c55e0dbc (patch)
treeba66621e8ee5b505bd41de6e9e7494a347ce1fbc /lib
parent34b09398d5b53cf8cd5927970abf51955560c3d4 (diff)
fix compiler warning: conversion from 'int' to 'bool', possible loss of data
Diffstat (limited to 'lib')
-rw-r--r--lib/tftp.c2
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);