Index: include/midas.h
===================================================================
--- include/midas.h	(revision 6a37d5b75a66b9b08989170e2619867e2219e59d)
+++ include/midas.h	(revision 09d13458eaf73781ea49a7ff93d5b5297fa74f9b)
@@ -31,5 +31,5 @@
 #define	BIT2	V_RES2			/* graphics - 2 bit pixels */
 #define	BIT3	V_RES3			/* graphics - 4 bit pixels */
-#define	CHR2	0			/* characters - no attributes */
+#define	CHR2	0u			/* characters - no attributes */
 #define	CHR3	(V_FAD | V_HCR)		/* characters - full attributes */
 
Index: include/vsdd.h
===================================================================
--- include/vsdd.h	(revision 6a37d5b75a66b9b08989170e2619867e2219e59d)
+++ include/vsdd.h	(revision 09d13458eaf73781ea49a7ff93d5b5297fa74f9b)
@@ -13,43 +13,43 @@
 #define	VSDD	((uint16_t *)0x200000)
 
-#define	V_CHITE	12		/* Character height */
+#define	V_CHITE	12u		/* Character height */
 
 /* object descriptor flags */
 
-#define	V_CBS	0x0800		/* 0 = Bit Map, 1 = Character */
-#define	V_RES0	0x0000		/* Resolution 0: char 16, bit - */
-#define	V_RES1	0x0200		/* Resolution 1: char  6, bit - */
-#define	V_RES2	0x0400		/* Resolution 2: char  8, bit 2 */
-#define	V_RES3	0x0600		/* Resolution 3: char 12, bit 4 */
-#define	V_CRS	0x0100		/* Conceal/Reveal Select */
+#define	V_CBS	0x0800u		/* 0 = Bit Map, 1 = Character */
+#define	V_RES0	0x0000u		/* Resolution 0: char 16, bit - */
+#define	V_RES1	0x0200u		/* Resolution 1: char  6, bit - */
+#define	V_RES2	0x0400u		/* Resolution 2: char  8, bit 2 */
+#define	V_RES3	0x0600u		/* Resolution 3: char 12, bit 4 */
+#define	V_CRS	0x0100u		/* Conceal/Reveal Select */
 
-#define	V_PSE	0x0080		/* Proportional space enable */
-#define	V_FAD	0x0040		/* Full attributes select */
-#define	V_OBL	0x0020		/* Object blink */
-#define	V_BLA	0x0010		/* Object blank */
+#define	V_PSE	0x0080u		/* Proportional space enable */
+#define	V_FAD	0x0040u		/* Full attributes select */
+#define	V_OBL	0x0020u		/* Object blink */
+#define	V_BLA	0x0010u		/* Object blank */
 
-#define	V_HCR	0x0008		/* High color resolution */
-#define	V_TDE	0x0004		/* Transparency detect enable */
-#define	V_DCS0	0x0000		/* Default color select 0 */
-#define	V_DCS1	0x0001		/* Default color select 1 */
-#define	V_DCS2	0x0002		/* Default color select 2 */
-#define	V_DCS3	0x0003		/* Default color select 3 */
+#define	V_HCR	0x0008u		/* High color resolution */
+#define	V_TDE	0x0004u		/* Transparency detect enable */
+#define	V_DCS0	0x0000u		/* Default color select 0 */
+#define	V_DCS1	0x0001u		/* Default color select 1 */
+#define	V_DCS2	0x0002u		/* Default color select 2 */
+#define	V_DCS3	0x0003u		/* Default color select 3 */
 
 /* Preset flags for bitmap and character objects */
 
-#define	V_BTYPE	0
+#define	V_BTYPE	0u
 #define	V_CTYPE	(V_CBS | V_RES2 | ((V_CHITE - 1) << 12))
 
 /* character attribute flags */
 
-#define	C_ALTCS	0x8000
-#define	C_TFGND	0x4000
-#define	C_TBGND	0x2000
-#define	C_WIDE	0x1000
+#define	C_ALTCS	0x8000u
+#define	C_TFGND	0x4000u
+#define	C_TBGND	0x2000u
+#define	C_WIDE	0x1000u
 
-#define	C_MASK	0x0800
-#define	C_INVRT	0x0400
-#define	C_BLINK	0x0200
-#define	C_ULINE	0x0100
+#define	C_MASK	0x0800u
+#define	C_INVRT	0x0400u
+#define	C_BLINK	0x0200u
+#define	C_ULINE	0x0100u
 
 struct octent {			/* Object control table entry */
