summaryrefslogtreecommitdiff
path: root/src/util/uv.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-22 15:29:28 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-22 15:29:28 +0200
commit02e88e445d9960c3b248ea95d03d4a191ef91289 (patch)
treea2968418cc4aae03798376555701edf2fffc297e /src/util/uv.cpp
parent087d04292a844fbfdb8d65457b1d44456e51c631 (diff)
downloadqtlocation-mapboxgl-02e88e445d9960c3b248ea95d03d4a191ef91289.tar.gz
fixes for libuv 0.11
Diffstat (limited to 'src/util/uv.cpp')
-rw-r--r--src/util/uv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/uv.cpp b/src/util/uv.cpp
index 1e51d3dbb6..03a885d308 100644
--- a/src/util/uv.cpp
+++ b/src/util/uv.cpp
@@ -15,7 +15,7 @@ std::string cwd() {
do {
max += 256;
dir.resize(max);
- uv_cwd(const_cast<char *>(dir.data()), max);
+ uv_cwd(const_cast<char *>(dir.data()), &max);
} while (max == dir.size());
dir.resize(max - 1);
return dir;