diff options
author | Alon Levy <alevy@redhat.com> | 2010-12-06 17:55:16 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-12-08 17:11:45 +0200 |
commit | 06749bd66bb3e689bc96be1a3739747912ee0020 (patch) | |
tree | df26e6897c54367f176d3bdeff757896c090a9d5 /client/red_peer.cpp | |
parent | 2cd07dd8f3dd9bf34b1725bb015aecefc93b3454 (diff) | |
download | spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.gz spice-06749bd66bb3e689bc96be1a3739747912ee0020.tar.xz spice-06749bd66bb3e689bc96be1a3739747912ee0020.zip |
mingw32 build: fix signed/unsigned warnings as errors
Diffstat (limited to 'client/red_peer.cpp')
-rw-r--r-- | client/red_peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_peer.cpp b/client/red_peer.cpp index 88fc9ad7..08176d09 100644 --- a/client/red_peer.cpp +++ b/client/red_peer.cpp @@ -364,7 +364,7 @@ bool RedPeer::verify_subject(X509* cert, const HostAuthOptions::CertFieldValueLi return false; } - if (X509_NAME_entry_count(cert_subject) != subject.size()) { + if ((size_t)X509_NAME_entry_count(cert_subject) != subject.size()) { DBG(0, "subject mismatch: #entries cert=%d, input=%d", X509_NAME_entry_count(cert_subject), subject.size()); return false; |