Skip to content

Commit 81f8c38

Browse files
committed
coll/tuned: fix warning about fscanf with sign dissagreement
1 parent bdda699 commit 81f8c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/coll/tuned/coll_tuned_dynamic_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ int ompi_coll_tuned_read_rules_config_file (char *fname, ompi_coll_alg_rule_t**
125125
}
126126

127127
/* consume the optional version identifier */
128-
if (0 == fscanf(fptr, "rule-file-version-%u", &version)) {
128+
if (0 == fscanf(fptr, "rule-file-version-%d", &version)) {
129129
version = 1;
130130
}
131131

0 commit comments

Comments
 (0)