Skip to content

Commit b375534

Browse files
committed
Fixed compilation issue
1 parent 27269ab commit b375534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpr/session.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ void Session::SetBody(Body&& body) {
471471

472472
void Session::SetLowSpeed(const LowSpeed& low_speed) {
473473
curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_LIMIT, static_cast<long>(low_speed.limit));
474-
curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_TIME, static_cast<long>(low_speed.time.count())); // cppcheck-suppress y2038-unsafe-call
474+
curl_easy_setopt(curl_->handle, CURLOPT_LOW_SPEED_TIME, static_cast<long>(low_speed.time)); // cppcheck-suppress y2038-unsafe-call
475475
}
476476

477477
void Session::SetVerifySsl(const VerifySsl& verify) {

0 commit comments

Comments
 (0)