]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Fix some of the things that break compilation on Windows.
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 6 Aug 2002 19:21:54 +0000 (19:21 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 6 Aug 2002 19:21:54 +0000 (19:21 +0000)
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;