libadmin: minor warning fix
[openafs.git] / src / libadmin / afs_Admin.h
index 3a8dfa4..2a96a76 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
@@ -71,11 +71,12 @@ typedef struct afs_ClientConfig {
 } afs_ClientConfig_t, *afs_ClientConfig_p;
 
 #if AFS_NT40_ENV
-typedef HANDLE rxdebugSocket_t;
+typedef SOCKET rxdebugSocket_t;
+#define INVALID_RXDEBUG_SOCKET INVALID_SOCKET
 #else /* AFS_NT40_ENV */
 typedef int rxdebugSocket_t;
-#endif /* AFS_NT40_ENV */
 #define INVALID_RXDEBUG_SOCKET ((rxdebugSocket_t)-1)
+#endif /* AFS_NT40_ENV */
 
 typedef struct {
     rxdebugSocket_t sock;