From 80a321118cc46c357a317b8668998d13f8c8b062 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 11 Apr 2014 21:49:54 +0200 Subject: add more warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_idcrtc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/blueshift_idcrtc.c') 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; -- cgit v1.2.3-70-g09d2