diff --git a/src/r_data.h b/src/r_data.h
index 4a37f82c3dd9815551670204fd1cd1a8f2c4779c..69a2882af52da27a55f2dca8a43a4006c8a66554 100644
--- a/src/r_data.h
+++ b/src/r_data.h
@@ -30,7 +30,7 @@ typedef struct
 {
 	// Block origin (always UL), which has already accounted for the internal origin of the patch.
 	INT16 originx, originy;
-	INT16 wad, lump;
+	UINT16 wad, lump;
 } texpatch_t;
 
 // A maptexturedef_t describes a rectangular texture,