--- a/src/org/esb/av/Packet.cpp
+++ b/src/org/esb/av/Packet.cpp
@@ -187,7 +187,7 @@
   packet->flags = f;
 }
 
-int Packet::getStreamIndex() {
+unsigned int Packet::getStreamIndex() {
   return packet->stream_index;
 }