From: Nickolai Zeldovich Date: Tue, 6 Aug 2002 19:21:54 +0000 (+0000) Subject: Fix some of the things that break compilation on Windows. X-Git-Tag: openafs-devel_1_3_3~23 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fa729e7694d8d2a7694621542ddce6e212050599;p=packages%2Fo%2Fopenafs.git Fix some of the things that break compilation on Windows. --- diff --git a/src/WINNT/afsapplib/dialog.cpp b/src/WINNT/afsapplib/dialog.cpp index 4c851e26f..96243139f 100644 --- a/src/WINNT/afsapplib/dialog.cpp +++ b/src/WINNT/afsapplib/dialog.cpp @@ -1835,7 +1835,7 @@ WORD NextControlID (HWND hParent) if ((wChild < 0) || (wChild >= 0xF000)) continue; - wNext = max( wNext, wChild+1 ); + wNext = max( wNext, (WORD) wChild+1 ); } return wNext; diff --git a/src/util/readdir_nt.c b/src/util/readdir_nt.c index 24e71d6ee..2a2ef591f 100644 --- a/src/util/readdir_nt.c +++ b/src/util/readdir_nt.c @@ -32,7 +32,7 @@ RCSID("$Header$"); /* opendir() - The case insensitive version of opendir */ DIR *opendir(const char *path) { - struct DIR *tDir; + DIR *tDir; HANDLE tH; char tPath[MAX_PATH]; WIN32_FIND_DATA tData;