diff --git a/openair1/EMOS/LTE/IMPORT_FILTER/Makefile b/openair1/EMOS/LTE/IMPORT_FILTER/Makefile
index da66cace6e3685484dcb014426bc4e3eeff640c5..a2d3a5c6cb6bdaa109e1128dbd3bf388d041477c 100644
--- a/openair1/EMOS/LTE/IMPORT_FILTER/Makefile
+++ b/openair1/EMOS/LTE/IMPORT_FILTER/Makefile
@@ -4,7 +4,7 @@ SRC = dump_size.c
 #CFLAGS = $(shell rtai-config --lxrt-cflags)
 #LDFLAGS = $(shell rtai-config --lxrt-ldflags) -lpthread -lm -lgps -lforms #-llxrt 
 
-CFLAGS += -m32 -I$(OPENAIR1_DIR) -I$(OPENAIR2_DIR)/RRC/LITE/MESSAGES -I$(OPENAIR_HOME)/common/utils -I$(OPENAIR2_DIR) -I$(OPENAIR2_DIR)/COMMON
+CFLAGS += -I$(OPENAIR1_DIR) -I$(OPENAIR2_DIR)/RRC/LITE/MESSAGES -I$(OPENAIR_HOME)/common/utils -I$(OPENAIR2_DIR) -I$(OPENAIR2_DIR)/COMMON 
 
 CFLAGS += -DPHYSIM -DNODE_RG -DUSER_MODE -DPC_TARGET -DPC_DSP -DNB_ANTENNAS_RX=2 -DNB_ANTENNAS_TXRX=2 -DNB_ANTENNAS_TX=2 -DPHY_CONTEXT=1
 
diff --git a/openair1/EMOS/LTE/IMPORT_FILTER/MatlabCStruct.c b/openair1/EMOS/LTE/IMPORT_FILTER/MatlabCStruct.c
index 0b924d57a644b1d43551bab88723336bbd3b8432..79c87b7404b8a2c9c7d2b7f36bb2debf7f2f22d5 100644
--- a/openair1/EMOS/LTE/IMPORT_FILTER/MatlabCStruct.c
+++ b/openair1/EMOS/LTE/IMPORT_FILTER/MatlabCStruct.c
@@ -159,8 +159,8 @@ ELEMENT_ATTRIBUTES MatlabCStruct(const mxArray *pArray, int MemoryAlignment, int
   case mxUINT8_CLASS   : Attributes.ElementSize = sizeof(unsigned char); break;
   case mxINT16_CLASS   : Attributes.ElementSize = sizeof(short); break;
   case mxUINT16_CLASS  : Attributes.ElementSize = sizeof(unsigned short); break;
-  case mxINT32_CLASS   : Attributes.ElementSize = sizeof(long); break;
-  case mxUINT32_CLASS  : Attributes.ElementSize = sizeof(unsigned long); break;
+  case mxINT32_CLASS   : Attributes.ElementSize = sizeof(int); break;
+  case mxUINT32_CLASS  : Attributes.ElementSize = sizeof(unsigned int); break;
 //  case mxINT64_CLASS   : Attributes.ElementSize = sizeof(__int64); break;
   case mxINT64_CLASS   : Attributes.ElementSize = sizeof(INT64_T); break; // jaj 05/24/2004
   default: mexErrMsgTxt("Unknown MX class");