summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-19 12:42:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-19 12:42:54 +0200
commit0578bd819884172ca4b1e197931e5490e8ef7bbd (patch)
tree4b1446a8ecdf541bf182f038732a2a34b40f6ee6 /ftnoir_protocol_ft
parent017a906cde67e246655de5f95e7f4f27f0d8169f (diff)
proto-freetrack: use new compat bool ::success()
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r--ftnoir_protocol_ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
index ec4eb532..47e99d31 100644
--- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
+++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp
@@ -256,7 +256,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK()
start_dummy();
}
- if (shm.mem == (void*) 0 || shm.mem == (void*) -1)
+ if (!shm.success())
return false;
pMemData->data.DataID = 1;