Bug 835692: Convert TransportLayerDtls::kMaxDigestLength to be a size_t, since that's how it's used & what it's compared to. r=ekr
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 29 Jan 2013 09:01:10 -0800
changeset 120243 bf9886e0d35620c31ed2586a4a2fc8c316ddaa5e
parent 120242 df75a87cce60fe1396b579941e4db1fe0495a610
child 120244 e182be8b7b8a18656e0fc777ec3c3d8b7bef9553
push id24243
push userryanvm@gmail.com
push dateWed, 30 Jan 2013 00:49:21 +0000
treeherdermozilla-central@5c248ef0fe62 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersekr
bugs835692
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 835692: Convert TransportLayerDtls::kMaxDigestLength to be a size_t, since that's how it's used & what it's compared to. r=ekr
media/mtransport/transportlayerdtls.h
--- a/media/mtransport/transportlayerdtls.h
+++ b/media/mtransport/transportlayerdtls.h
@@ -54,17 +54,17 @@ class TransportLayerDtls : public Transp
       ssl_fd_(nullptr),
       auth_hook_called_(false),
       cert_ok_(false) {}
 
   virtual ~TransportLayerDtls();
 
   enum Role { CLIENT, SERVER};
   enum Verification { VERIFY_UNSET, VERIFY_ALLOW_ALL, VERIFY_DIGEST};
-  const static int kMaxDigestLength = HASH_LENGTH_MAX;
+  const static size_t kMaxDigestLength = HASH_LENGTH_MAX;
 
   // DTLS-specific operations
   void SetRole(Role role) { role_ = role;}
   Role role() { return role_; }
 
   void SetIdentity(const RefPtr<DtlsIdentity>& identity) {
     identity_ = identity;
   }