summaryrefslogtreecommitdiff
path: root/disas
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-11-10 15:57:34 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2015-11-17 18:35:56 +0800
commit886ce6f8b6ede74eb04314ef62d15bcdf5df7ef1 (patch)
tree4a8316d03c6ff485cb4f21b505057ff1e44c2b0b /disas
parenta12e52a151ab48fbfe462110a36d2399713271e6 (diff)
downloadqemu-886ce6f8b6ede74eb04314ef62d15bcdf5df7ef1.tar.gz
qemu-886ce6f8b6ede74eb04314ef62d15bcdf5df7ef1.tar.bz2
qemu-886ce6f8b6ede74eb04314ef62d15bcdf5df7ef1.zip
tpm: avoid clang shifting negative signed warning
clang 3.7.0 on x86_64 warns about the following: hw/tpm/tpm_tis.c:1000:36: warning: shifting a negative signed value is undefined [-Wshift-negative-value] tis->loc[c].iface_id = TPM_TIS_IFACE_ID_SUPPORTED_FLAGS1_3; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/tpm/tpm_tis.c:144:10: note: expanded from macro 'TPM_TIS_IFACE_ID_SUPPORTED_FLAGS1_3' (~0 << 4)/* all of it is don't care */) ~~ ^ Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions