Fix compile error on macOS

[skip AppVeyor]
[skip linux]
[publish binaries]
Introduced by 59e5154, errored by clang, passed by gcc
FileIO/FitRideFile.cpp:5475:88: error: cannot pass non-trivial object of
type 'QString' to variadic function; expected type from format string
was 'wchar_t' [-Wnon-pod-varargs]
                        fprintf(stderr,"ERROR TYPE % CURRENTLY
			UNSUPPORTED\n",ciqfield.type); fflush(stderr);
This commit is contained in:
Alejandro Martinez
2025-03-27 18:32:59 -03:00
parent 7c9b9868fc
commit 94415a6df2

View File

@@ -5472,7 +5472,7 @@ void write_record(QByteArray *array, const RideFile *ride, bool withAlt, bool wi
write_float32(ridePoint, val, true);
break;
default:
fprintf(stderr,"ERROR TYPE % CURRENTLY UNSUPPORTED\n",ciqfield.type); fflush(stderr);
fprintf(stderr,"ERROR TYPE % CURRENTLY UNSUPPORTED\n",ciqfield.type.toStdString().c_str()); fflush(stderr);
}
}
}