Skip to content

Commit

Permalink
Fix signature of watch_thread
Browse files Browse the repository at this point in the history
Signed-off-by: nojebar <[email protected]>
  • Loading branch information
nojb committed Feb 6, 2023
1 parent 523e606 commit d73edcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fswatch_win/fswatch_win_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static void read_changes(struct wenv *wenv) {
FILE_NOTIFY_CONDITIONS, NULL, wenv->overlapped, NULL);
}

static DWORD watch_thread(LPVOID param) {
static DWORD WINAPI watch_thread(LPVOID param) {
struct fsenv *fsenv = param;
struct wenv *wenv;
DWORD num_bytes;
Expand Down

0 comments on commit d73edcf

Please sign in to comment.