aboutsummaryrefslogtreecommitdiff
path: root/src/build_settings.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-08-01 17:28:49 +0100
committerGinger Bill <bill@gingerbill.org>2017-08-01 17:28:49 +0100
commitd854c5003cfdf96d763775a15b5910bb5c8c846b (patch)
tree03805e1ef01f2cbf3689670654bf67440b6eae2e /src/build_settings.cpp
parent66d8776b83d36ee4fd65b6837bb6a172ed09df81 (diff)
Fix minor errors for *nix
Diffstat (limited to 'src/build_settings.cpp')
-rw-r--r--src/build_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp
index ce9256cd2..817737865 100644
--- a/src/build_settings.cpp
+++ b/src/build_settings.cpp
@@ -237,7 +237,7 @@ String path_to_fullpath(gbAllocator a, String s) {
String path_to_fullpath(gbAllocator a, String s) {
char *p;
gb_mutex_lock(&string_buffer_mutex);
- p = realpath(cast(char *)s.data, 0);
+ p = realpath(cast(char *)s.text, 0);
gb_mutex_unlock(&string_buffer_mutex);
if(p == nullptr) return make_string_c("");
return make_string_c(p);