Skip to content
Snippets Groups Projects
Commit 6e34c2d5 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: conversion from 'int' to 'bool', possible loss of data

parent 34b09398
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment