Skip to content

Commit 9edafdb

Browse files
committed
fixed #31
1 parent fd5ea5c commit 9edafdb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ project(wdc)
3535

3636
set(WDC_VERSION_MAJOR 1)
3737
set(WDC_VERSION_MINOR 0)
38-
set(WDC_VERSION_PATCH 6)
38+
set(WDC_VERSION_PATCH 7)
3939
set(WDC_VERSION ${WDC_VERSION_MAJOR}.${WDC_VERSION_MINOR}.${WDC_VERSION_PATCH})
4040

4141
set(CMAKE_CXX_STANDARD 11)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
WebDAV Client
22
===
3-
[![version](https://img.shields.io/badge/version-1.0.6-brightgreen.svg)](https://github.com/CloudPolis/webdav-client-cpp/releases/tag/v1.0.6)
3+
[![version](https://img.shields.io/badge/version-1.0.7-brightgreen.svg)](https://github.com/CloudPolis/webdav-client-cpp/releases/tag/v1.0.7)
44
[![Gitter](https://badges.gitter.im/designerror/webdav-client-cpp.svg)](https://gitter.im/designerror/webdav-client-cpp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
55
[![Build Status](https://travis-ci.org/CloudPolis/webdav-client-cpp.svg?branch=master)](https://travis-ci.org/CloudPolis/webdav-client-cpp)
66
[![Build status](https://ci.appveyor.com/api/projects/status/cr2xwpwe3iiafbwg?svg=true)](https://ci.appveyor.com/project/rusdevops/webdav-client-cpp)

sources/client.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
############################################################################*/
2222

2323
#include <thread>
24+
#include <cstdlib>
2425
#include <webdav/client.hpp>
2526
#include "pugiext.hpp"
2627
#include "header.hpp"
@@ -464,7 +465,7 @@ namespace WebDAV
464465
pugi::xml_node quota_available_bytes = prop.select_node("*[local-name()='quota-available-bytes']").node();
465466
std::string free_size_text = quota_available_bytes.first_child().value();
466467

467-
auto free_size = atol(free_size_text.c_str());
468+
auto free_size = std::atoll(free_size_text.c_str());
468469
return free_size;
469470
}
470471

0 commit comments

Comments
 (0)