Skip to content

Commit 4dbfa73

Browse files
committed
fix trying to send a QString to cerr
1 parent 964be1e commit 4dbfa73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nifti/NiftiHeader.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ double NiftiHeader::getTimeStep() const
284284
ret /= 1000.0;
285285
break;
286286
default:
287-
cerr << "warning: non-time units code " + AString_number(timeUnit) + " used in nifti header, pretending units are seconds" << endl;
287+
cerr << AString_to_std_string("warning: non-time units code " + AString_number(timeUnit) + " used in nifti header, pretending units are seconds") << endl;
288288
case NIFTI_UNITS_SEC:
289289
break;
290290
}

0 commit comments

Comments
 (0)