Index: net/spdy/spdy_session.cc |
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc |
index 4b9190976c6a27d457a2f9c3eea37159b7491451..a2e239e18b6b824c29a5e6b781ac722bccf7bd38 100644 |
--- a/net/spdy/spdy_session.cc |
+++ b/net/spdy/spdy_session.cc |
@@ -238,7 +238,7 @@ base::Value* NetLogSpdyPingCallback(SpdyPingId unique_id, |
const char* type, |
NetLog::LogLevel /* log_level */) { |
base::DictionaryValue* dict = new base::DictionaryValue(); |
- dict->SetInteger("unique_id", unique_id); |
+ dict->SetInteger("unique_id", static_cast<int>(unique_id)); |
dict->SetString("type", type); |
dict->SetBoolean("is_ack", is_ack); |
return dict; |
@@ -2922,7 +2922,7 @@ void SpdySession::SendWindowUpdateFrame(SpdyStreamId stream_id, |
EnqueueSessionWrite(priority, WINDOW_UPDATE, window_update_frame.Pass()); |
} |
-void SpdySession::WritePingFrame(uint32 unique_id, bool is_ack) { |
+void SpdySession::WritePingFrame(SpdyPingId unique_id, bool is_ack) { |
DCHECK(buffered_spdy_framer_.get()); |
scoped_ptr<SpdyFrame> ping_frame( |
buffered_spdy_framer_->CreatePingFrame(unique_id, is_ack)); |