projects
/
profile
/
ivi
/
qtbase.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the build for QUuid
[profile/ivi/qtbase.git]
/
src
/
corelib
/
plugin
/
quuid.cpp
diff --git
a/src/corelib/plugin/quuid.cpp
b/src/corelib/plugin/quuid.cpp
index
7ef8522
..
e99f87a
100644
(file)
--- a/
src/corelib/plugin/quuid.cpp
+++ b/
src/corelib/plugin/quuid.cpp
@@
-52,8
+52,7
@@
void _q_toHex(Char *&dst, Integral value)
{
static const char digits[] = "0123456789abcdef";
- if (sizeof(Integral) > 1)
- value = qToBigEndian(value);
+ value = qToBigEndian(value);
const char* p = reinterpret_cast<const char*>(&value);