summaryrefslogtreecommitdiffstats
path: root/src/blueshift_idcrtc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blueshift_idcrtc.c10
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;