Skip to content

Commit c034e73

Browse files
committed
fix clang-12 compile warning
1 parent a162584 commit c034e73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: showindex.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ int doShowIndex(const char * filename)
4949
uchar PictureType; // current picture-type
5050
bool Independent;
5151
int Length; // frame-lenght of current frame
52-
char pictypes[]= { 'U','I','P','B' };
53-
char *indents[]= { "",""," "," " };
54-
char *indents2[]= { ""," "," ","" };
52+
const char pictypes[]= { 'U','I','P','B' };
53+
const char *indents[]= { "",""," "," " };
54+
const char *indents2[]= { ""," "," ","" };
5555
int lastFile=0;
5656
int lastOffset = 0;
5757
unsigned char readBuffer[BYTES_TO_READ+1];

0 commit comments

Comments
 (0)