Index: trunk/IPs/systemC/shared/soclib_segment_table.h
===================================================================
--- trunk/IPs/systemC/shared/soclib_segment_table.h	(revision 138)
+++ trunk/IPs/systemC/shared/soclib_segment_table.h	(revision 144)
@@ -73,4 +73,5 @@
 #include <list>
 #include <iostream>
+#include <stdio.h>
 // using namespace std;
 
@@ -323,5 +324,5 @@
 	{
 	  std::cout << "\n                 MSB ROUTING_TABLE\n\n" ;
-	  int size = 1 << MSBNumber+LSBNumber;
+	  int size = 1 << (MSBNumber+LSBNumber);
 	  unsigned int	*tab = new unsigned int[size];
 	  initRoutingTable(tab);
@@ -337,5 +338,5 @@
   {
     printf( "\n    LSB_ROUTING_TABLE OF GLOBAL TARGET :%d \n\n", glt );
-    int size = 1 << MSBNumber+LSBNumber;
+    int size = 1 << (MSBNumber+LSBNumber);
     unsigned int	*tab = new unsigned int[size];
     initLocalRoutingTable(tab,glt);
@@ -371,5 +372,5 @@
 	}
 
-	int RoutingTableSize = 1 << MSBNumber+LSBNumber;
+	int RoutingTableSize = 1 << (MSBNumber+LSBNumber);
 	int PageSize         = 1 << (32 - MSBNumber - LSBNumber);
 	
@@ -511,5 +512,5 @@
 	}
 
-	int RoutingTableSize = 1 << MSBNumber+LSBNumber;
+	int RoutingTableSize = 1 << (MSBNumber+LSBNumber);
 	int PageSize         = 1 << (32 - MSBNumber - LSBNumber );
 	
