summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_promise.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-05 11:00:47 +0100
committerTom Hacohen <tom@stosb.com>2016-06-05 11:00:55 +0100
commit4c3b7fb2481a7e6c971e9606c09a5a271ecf5c06 (patch)
tree23115fe9d476089e2d946e80e7c31c7c07723e97 /src/lib/eina/eina_promise.c
parent7c187acbf2cbebc1af2ffe496ac398a5d51f9fce (diff)
Eina promise: Fix broken return value.
I broke it in dc73f6644e0ed8fdbd2c6c8187591fb7eb8027c7. Excuse of the day: I'm not working from my usual spot and there's screen glare here that made me not see the *. Good excuse?
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_promise.c b/src/lib/eina/eina_promise.c
index 0b6a180c11..e6db032c66 100644
--- a/src/lib/eina/eina_promise.c
+++ b/src/lib/eina/eina_promise.c
@@ -280,7 +280,7 @@ _eina_promise_pointer_value_get(_Eina_Promise_Default const* p)
280 if (p->has_finished && !p->has_errored) 280 if (p->has_finished && !p->has_errored)
281 { 281 {
282 char const* buffer = promise->value; 282 char const* buffer = promise->value;
283 return (void**)buffer; 283 return *((void**)buffer);
284 } 284 }
285 else 285 else
286 { 286 {