From a10578ede677e72c7832775f5020d855dccc01ce Mon Sep 17 00:00:00 2001 From: Alex Mayfield Date: Wed, 9 May 2018 20:07:59 -0400 Subject: [PATCH] Strife now boots The problem was the opendir implementation. The handle that is passed around to _findnext and friends is supposed to be a intptr_t, but was only a long instead. I suspect the problem only showed up on 64-bit builds beforehand. --- win32/win_opendir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/win_opendir.h b/win32/win_opendir.h index 3fe0f793..c1844e11 100644 --- a/win32/win_opendir.h +++ b/win32/win_opendir.h @@ -46,7 +46,7 @@ typedef struct struct dirent dd_dir; /* _findnext handle */ - long dd_handle; + intptr_t dd_handle; /* * Status of search: