From b058098fdcc5d4ed9b81fdb17f64820c0360ad48 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 8 Mar 2021 00:21:02 +0100 Subject: m + style fix + check memory allocation overflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libgamma_x_randr_site_initialise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgamma_x_randr_site_initialise.c') diff --git a/libgamma_x_randr_site_initialise.c b/libgamma_x_randr_site_initialise.c index f582748..5e2b776 100644 --- a/libgamma_x_randr_site_initialise.c +++ b/libgamma_x_randr_site_initialise.c @@ -51,7 +51,7 @@ libgamma_x_randr_site_initialise(struct libgamma_site_state *restrict this, char } /* Check protocol compatibility, - we require 1.3 but 2.x may not be backwards compatible */ + * we require 1.3 but 2.x may not be backwards compatible */ if (reply->major_version != RANDR_VERSION_MAJOR || reply->minor_version < RANDR_VERSION_MINOR) { #ifdef DEBUG /* Print used protocol */ -- cgit v1.2.3-70-g09d2