summaryrefslogtreecommitdiffstats
path: root/src/blueshift_randr_c.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-11 21:49:54 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-11 21:49:54 +0200
commit80a321118cc46c357a317b8668998d13f8c8b062 (patch)
tree81f43a1eb00fb48d78568a3cc71ee77e955ba80b /src/blueshift_randr_c.h
parenthotplugging does work, can operate on CRTC:s without any attached monitors (diff)
downloadblueshift-80a321118cc46c357a317b8668998d13f8c8b062.tar.gz
blueshift-80a321118cc46c357a317b8668998d13f8c8b062.tar.bz2
blueshift-80a321118cc46c357a317b8668998d13f8c8b062.tar.xz
add more warnings
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/blueshift_randr_c.h')
-rw-r--r--src/blueshift_randr_c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blueshift_randr_c.h b/src/blueshift_randr_c.h
index 8ab21f3..2bc23f2 100644
--- a/src/blueshift_randr_c.h
+++ b/src/blueshift_randr_c.h
@@ -30,12 +30,12 @@
/**
* The major version of RandR the program expects
*/
-#define RANDR_VERSION_MAJOR 1U
+#define RANDR_VERSION_MAJOR 1
/**
* The minor version of RandR the program expects
*/
-#define RANDR_VERSION_MINOR 3U
+#define RANDR_VERSION_MINOR 3
@@ -47,7 +47,7 @@ typedef struct blueshift_randr_crtc
/**
* Size of colour curves on the X-axis
*/
- unsigned int curve_size;
+ uint16_t curve_size;
/**
* CRT controller