comparison tools/lib64util.c @ 2247:bb7255792dd6

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 20:19:21 +0300
parents 95f669692b01
children 891acec47aa0
comparison
equal deleted inserted replaced
2246:d76b0c92769d 2247:bb7255792dd6
160 "-----------------------------------\n" 160 "-----------------------------------\n"
161 ); 161 );
162 162
163 for (int n = 0; n < ndmPaletteFormatList; n++) 163 for (int n = 0; n < ndmPaletteFormatList; n++)
164 { 164 {
165 DMPaletteFormat *fmt = &dmPaletteFormatList[n]; 165 const DMPaletteFormat *fmt = &dmPaletteFormatList[n];
166 if (fmt->flags & DM_FMT_RD) 166 if (fmt->flags & DM_FMT_RD)
167 { 167 {
168 fprintf(fp, 168 fprintf(fp,
169 "%-6s | %s\n", 169 "%-6s | %s\n",
170 fmt->fext, fmt->name); 170 fmt->fext, fmt->name);