Index: talk/media/devices/carbonvideorenderer.cc |
diff --git a/talk/media/devices/carbonvideorenderer.cc b/talk/media/devices/carbonvideorenderer.cc |
index f96dfacad8d8791f0a51ce09752643190c8e9a01..846135d925f2ce3e9fe65a7f36d53a0dcdea2f5d 100644 |
--- a/talk/media/devices/carbonvideorenderer.cc |
+++ b/talk/media/devices/carbonvideorenderer.cc |
@@ -116,7 +116,7 @@ bool CarbonVideoRenderer::SetSize(int width, int height, int reserved) { |
rtc::CritScope cs(&image_crit_); |
image_width_ = width; |
image_height_ = height; |
- image_.reset(new uint8[width * height * 4]); |
+ image_.reset(new uint8_t[width * height * 4]); |
memset(image_.get(), 255, width * height * 4); |
} |
return true; |