mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning: conversion from 'int' to 'bool', possible loss of data
This commit is contained in:
parent
34b09398d5
commit
6e34c2d59a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user