diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-11 21:49:54 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-11 21:49:54 +0200 |
commit | 80a321118cc46c357a317b8668998d13f8c8b062 (patch) | |
tree | 81f43a1eb00fb48d78568a3cc71ee77e955ba80b /src/blueshift_idcrtc.c | |
parent | hotplugging does work, can operate on CRTC:s without any attached monitors (diff) | |
download | blueshift-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 '')
-rw-r--r-- | src/blueshift_idcrtc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/blueshift_idcrtc.c b/src/blueshift_idcrtc.c index 3979bf5..6bb0fff 100644 --- a/src/blueshift_idcrtc.c +++ b/src/blueshift_idcrtc.c @@ -28,12 +28,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 @@ -56,11 +56,11 @@ static xcb_generic_error_t* error; * @param argv Command line arguments * @return Zero on success */ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstack-protector" + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstack-protector" int main(int argc, char** argv) { -#pragma GCC diagnostic pop + #pragma GCC diagnostic pop char* display = NULL; xcb_randr_query_version_cookie_t version_cookie; xcb_randr_query_version_reply_t* randr_version; |