Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Do more defined casting & interpretation from pointer to uint

GIT_SILENT
parent 4db049ae
......@@ -122,7 +122,7 @@ struct DocumentParseTarget
inline uint qHash(const DocumentParseTarget& target)
{
return target.features * 7 + target.priority * 13 + target.sequentialProcessingFlags * 17
+ reinterpret_cast<size_t>(target.notifyWhenReady.data());
+ static_cast<uint>(reinterpret_cast<quintptr>(target.notifyWhenReady.data()));
}
struct DocumentParsePlan
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment