diff --git a/keylogger.cpp b/keylogger.cpp index 4677b54..ed020d8 100644 --- a/keylogger.cpp +++ b/keylogger.cpp @@ -7,7 +7,7 @@ using namespace std; -string logfileLocation = "./keystroke.log"; +const char *logfileLocation = "./keystroke.log"; CGEventRef CGEventCallback (CGEventTapProxy, CGEventType, CGEventRef, void *); int main(int argc, const char *argv[]) { diff --git a/test b/test new file mode 100755 index 0000000..ad3addd Binary files /dev/null and b/test differ