Skip to content

Commit 5a955df

Browse files
authored
made typeLetter global string constant (#6943)
1 parent 61e1087 commit 5a955df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static const char* strlim(const char *ch, size_t limit) {
214214
return ptr;
215215
}
216216

217-
static char *typeLetter = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
217+
static const char *typeLetter = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
218218

219219
static char *typesAsString(int ncol) {
220220
int nLetters = strlen(typeLetter);

0 commit comments

Comments
 (0)