changeset 2247:bb7255792dd6

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 20:19:21 +0300
parents d76b0c92769d
children 2e656da1b10b
files tools/lib64util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64util.c	Sat Jun 15 20:14:14 2019 +0300
+++ b/tools/lib64util.c	Sat Jun 15 20:19:21 2019 +0300
@@ -162,7 +162,7 @@
 
     for (int n = 0; n < ndmPaletteFormatList; n++)
     {
-        DMPaletteFormat *fmt = &dmPaletteFormatList[n];
+        const DMPaletteFormat *fmt = &dmPaletteFormatList[n];
         if (fmt->flags & DM_FMT_RD)
         {
             fprintf(fp,