diff --git a/simple-cam.cpp b/simple-cam.cpp
index e2ac122546ce..3aa975e14f48 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -70,7 +70,7 @@ static void requestComplete(Request *request)
 
 	for (auto it = buffers.begin(); it != buffers.end(); ++it)
 	{
-		Stream *stream = it->first;
+		const Stream *stream = it->first;
 		FrameBuffer *buffer = it->second;
 
 		request->addBuffer(stream, buffer);
