[mythtv-commits] [MythTV/mythtv] 896064: fixup QtEndian template use (s390x)
Scott Theisen
noreply at github.com
Wed Mar 23 15:44:26 UTC 2022
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 8960641b32f751b8198ace9bbfc3378dac20c061
https://github.com/MythTV/mythtv/commit/8960641b32f751b8198ace9bbfc3378dac20c061
Author: Scott Theisen <scott.the.elm at gmail.com>
Date: 2022-03-23 (Wed, 23 Mar 2022)
Changed paths:
M mythtv/libs/libmyth/audio/audiooutpututil.cpp
M mythtv/libs/libmyth/audio/eldutils.cpp
M mythtv/libs/libmythtv/io/mythavformatwriter.cpp
M mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp
Log Message:
-----------
fixup QtEndian template use (s390x)
The error was:
/usr/bin/ld: ../../libs/libmyth/libmyth-32.so: undefined reference to `unsigned long qbswap<unsigned long>(unsigned long)'
This must be from eldutils.cpp: uint64_t is unsigned long, but Qt must
be using quint64 = unsigned long long, which causes the link error.
To fix this, follow the Qt documentation and only use the allowed
types, i.e. quint16, qint16, quint32, qint32, quint64, or qint64.
More information about the mythtv-commits
mailing list