diff --git a/pixel.cpp b/pixel.cpp
index 9a443aa0586c31cc9ee4638b6f939b1f19f06866..b05d9f395bf9413c64151f8256b6e0a73c0a73e7 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -4,14 +4,14 @@
 
 using namespace std;
 
-typedef ap_axis<24,0,0,0> pkt_t; 
+typedef ap_axis<32,0,0,0> pkt_t; 
 
 
 
 void pixel(
 
 		hls::stream< pkt_t > &din,
-		hls::stream< pkt_t > &dout,
+		hls::stream< pkt_t > &dout
 
 ) {
 	#pragma HLS INTERFACE ap_ctrl_none port=return
@@ -21,7 +21,7 @@ void pixel(
 	pkt_t pkt;
 	din.read(pkt);
 
-	    for(int i=0; i<=2; i++){
+	    for(int i=0; i<=3; i++){
             
 	        pkt.data[i] = 255;