summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index 3233b19..f161a97 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -1375,7 +1375,7 @@ static ExtensionPrintInfo known_extensions[] =
/* add new extensions here */
};
-static int num_known_extensions = sizeof known_extensions / sizeof known_extensions[0];
+static const int num_known_extensions = sizeof known_extensions / sizeof known_extensions[0];
static void
print_known_extensions(FILE *f)