Commit 7b1f8df5 authored by Thiago Macieira's avatar Thiago Macieira Committed by The Qt Project
Browse files

Fix annoying warning in qtxmlpatterns about a value too big for the enum


api/qcoloroutput_p.h:74:60: error: signed shift result (0xFFFFF00000) requires 41 bits to represent, but 'int' only has 32 bits [-Werror,-Wshift-overflow]

The masks don't look right anyway. Let's just hardcode them according
to how many colours are used.

Change-Id: Idd3438ecab3fb666bd84929fb731011224b9c68e
Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
parent d42b8e30
No related merge requests found
Showing with 2 additions and 2 deletions
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