summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2013-04-12 15:16:21 +0200
committerWim Vriend <facetracknoir@gmail.com>2013-04-12 15:16:21 +0200
commit3cd6b8f2e6f3a2de8dce573fe457eddca3c8ee1f (patch)
tree23d137dec718df3d1ce3c9fafbf8d5b77a9b3660 /ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
parentbcbdd10779d86d491060c6010e4ac927964f3c32 (diff)
parent30cafb02a28abba475205d94aebb6b2ae4e3f4bc (diff)
Merge branch 'posix' of ssh://git.code.sf.net/p/facetracknoir/codegit into posix
Diffstat (limited to 'ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp')
-rw-r--r--ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
index 6bdce889..f849392b 100644
--- a/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
+++ b/ftnoir_tracker_sm/ftnoir_tracker_faceapi.cpp
@@ -207,7 +207,7 @@ bool FTNoIR_Tracker::SMCreateMapping()
//
// Create a new FileMapping, Read/Write access
//
- hSMMemMap = OpenFileMappingA( PAGE_READWRITE , false , (LPCSTR) SM_MM_DATA );
+ hSMMemMap = OpenFileMappingA( FILE_MAP_WRITE, false , (LPCSTR) SM_MM_DATA );
if ( ( hSMMemMap != 0 ) ) {
qDebug() << "FTNoIR_Tracker::FTCreateMapping says: FileMapping Created again..." << hSMMemMap;
pMemData = (SMMemMap *) MapViewOfFile(hSMMemMap, FILE_MAP_WRITE, 0, 0, sizeof(TFaceData));