Fix typo in XFREE86_VERSION().
authorGareth Hughes <gareth@users.sourceforge.net>
Fri, 13 Jul 2001 01:42:48 +0000 (01:42 +0000)
committerGareth Hughes <gareth@users.sourceforge.net>
Fri, 13 Jul 2001 01:42:48 +0000 (01:42 +0000)
linux/drm.h
shared-core/drm.h
shared/drm.h

index 9f56102..ac9f407 100644 (file)
@@ -45,7 +45,7 @@
 #endif
 
 #define XFREE86_VERSION(major,minor,patch,snap) \
-               ((major << 16) | (minor < 8) | patch)
+               ((major << 16) | (minor << 8) | patch)
 
 #ifndef CONFIG_XFREE86_VERSION
 #define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)
index 9f56102..ac9f407 100644 (file)
@@ -45,7 +45,7 @@
 #endif
 
 #define XFREE86_VERSION(major,minor,patch,snap) \
-               ((major << 16) | (minor < 8) | patch)
+               ((major << 16) | (minor << 8) | patch)
 
 #ifndef CONFIG_XFREE86_VERSION
 #define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)
index 9f56102..ac9f407 100644 (file)
@@ -45,7 +45,7 @@
 #endif
 
 #define XFREE86_VERSION(major,minor,patch,snap) \
-               ((major << 16) | (minor < 8) | patch)
+               ((major << 16) | (minor << 8) | patch)
 
 #ifndef CONFIG_XFREE86_VERSION
 #define CONFIG_XFREE86_VERSION XFREE86_VERSION(4,1,0,0)