|
|
@@ -1,5 +1,7 @@ |
|
|
|
#pragma once |
|
|
|
|
|
|
|
#include <cppcore/conversion/convert_cast.h> |
|
|
|
|
|
|
|
#include "daemon.h" |
|
|
|
|
|
|
|
namespace cppmicrohttpd |
|
|
@@ -41,7 +43,7 @@ namespace cppmicrohttpd |
|
|
|
unsigned long long timeout = 0; |
|
|
|
if (MHD_get_timeout(_handle.get(), &timeout) != MHD_YES) |
|
|
|
return -1; |
|
|
|
return static_cast<long long>(timeout); |
|
|
|
return cppcore::convert_cast<long long>(timeout); |
|
|
|
} |
|
|
|
|
|
|
|
} |