From 00c484e168cdad46c241ff5e295fe6baef64d235 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 10 Nov 2009 23:58:02 +0000
Subject: [PATCH] Change INVALID_SUBNUM and INVALID_DIRNUM to ((uint)-1) to
 render Deuce's updated msgbase JSDOCS text invalid. Bwah ha ha ha!

---
 src/sbbs3/sbbsdefs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/sbbsdefs.h b/src/sbbs3/sbbsdefs.h
index 34b5829e83..2ee3e17468 100644
--- a/src/sbbs3/sbbsdefs.h
+++ b/src/sbbs3/sbbsdefs.h
@@ -426,8 +426,8 @@ typedef enum {						/* Values for xtrn_t.event				*/
 #define CHAT_SPLITP (1<<4)	/* Split screen private chat					*/
 																			
 																			
-#define INVALID_DIR 0xffff	/* Invalid directory value						*/
-#define INVALID_SUB 0xffff	/* Invalid sub-board value						*/
+#define INVALID_DIR ((uint)-1)	/* Invalid directory value					*/
+#define INVALID_SUB ((uint)-1)	/* Invalid sub-board value					*/
 																			
 #define KEY_BUFSIZE 1024	/* Size of keyboard input buffer				*/
 #define SAVE_LINES	 4		/* Maximum number of lines to save				*/
-- 
GitLab