foxygit / doom Log in
commit a10578ede677e72c7832775f5020d855dccc01ce
Author:     Alex Mayfield <alexmax2742@gmail.com>
AuthorDate: Wed May 9 20:07:59 2018 -0400
Commit:     Alex Mayfield <alexmax2742@gmail.com>
CommitDate: Wed May 9 20:07:59 2018 -0400

    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: