Some fixes in android sample

This commit is contained in:
Igor Chevdar
2017-06-22 13:34:22 +03:00
parent 5df86d9f17
commit 44620c1428
4 changed files with 67 additions and 51 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ void runKonan_start() {
}
void putEventSynchronously(void* event) {
uint64_t value = static_cast<uint64_t>(reinterpret_cast<uintptr_t>(event));
auto value = reinterpret_cast<uintptr_t>(event);
if (write(pipeC, &value, sizeof(value)) != sizeof(value)) {
LOGE("Failure writing event: %s\n", strerror(errno));
}