Skip to content

Commit 9cd8f22

Browse files
author
Roman Gruber
committed
make header_type char const*
1 parent 6d5e997 commit 9cd8f22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib/io/gauge_read.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ paramsGaugeInfo GaugeInfo = {0., 0, {0, 0}, NULL, NULL};
2828

2929
int read_gauge_field(char *filename, su3 **const gf) {
3030
int status = 0;
31-
char *header_type = NULL;
31+
char const* header_type = NULL;
3232
READER *reader = NULL;
3333

3434
paramsIldgFormat ildgformat_read;

src/lib/io/spinor_read.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ paramsSourceInfo SourceInfo = {0,
4141
int read_spinor(spinor* const s, spinor* const r, char* filename, const int position_) {
4242
int status = 0, getpos = 0, prec = 0, prop_type, position = position_, rstat = 0;
4343
uint64_t bytes = 0;
44-
char* header_type = NULL;
44+
char const* header_type = NULL;
4545
READER* reader = NULL;
4646
DML_Checksum checksum_read;
4747
DML_Checksum checksum;

src/lib/io/utils_parse_propagator_type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
int parse_propagator_type(READER *reader) {
2323
char *prop_type_string = NULL;
24-
char *header_type = NULL;
24+
char const* header_type = NULL;
2525
int prop_type = -1;
2626
int status = 0;
2727
int proptypefound = 0, sourcetypefound = 0;

0 commit comments

Comments
 (0)