]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-windows-build-fixes-20020806
authorNickolai Zeldovich <kolya@mit.edu>
Wed, 28 Aug 2002 04:28:14 +0000 (04:28 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 28 Aug 2002 04:28:14 +0000 (04:28 +0000)
fix windows build items

(cherry picked from commit fa729e7694d8d2a7694621542ddce6e212050599)

src/WINNT/afsapplib/dialog.cpp
src/util/readdir_nt.c

index 4c851e26f41d42dc9734974be90af44bbe605d0c..96243139f3eedcbbb537c66d337cb376adfa2ed8 100644 (file)
@@ -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;
index 24e71d6eea803a83318fa203d66c1a3d2b62e326..2a2ef591f27f3a0ef133436ebedc8801f9e9fcbd 100644 (file)
@@ -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;