OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7b421
)
remove redundant cast in qRandomUuid() function
author
Ivailo Monev
<xakepa10@gmail.com>
Wed, 21 Sep 2022 13:53:43 +0000
(16:53 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Wed, 21 Sep 2022 13:53:43 +0000
(16:53 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qbytearray.cpp
patch
|
blob
|
history
diff --git
a/src/core/tools/qbytearray.cpp
b/src/core/tools/qbytearray.cpp
index
c537116
..
a0d6498
100644
(file)
--- a/
src/core/tools/qbytearray.cpp
+++ b/
src/core/tools/qbytearray.cpp
@@
-287,7
+287,7
@@
QByteArray qRandomUuid()
#undef UUID_TOHEX
- return QByteArray(
reinterpret_cast<char*>(uuidbuf)
, sizeof(uuidbuf));
+ return QByteArray(
uuidbuf
, sizeof(uuidbuf));
}
#ifndef QT_NO_COMPRESS