Fix an incorrect declaration 07/10207/2
Sylvestre Ledru [Sat, 12 Jan 2013 12:09:32 +0000 (13:09 +0100)]
Change-Id: Ie01d02745d967fa4b22663fb54b9c7b9dddf671d

scilab/modules/ui_data/src/cpp/UpdateBrowseVar.cpp

index ab98316..88fd01a 100644 (file)
@@ -65,7 +65,7 @@ void UpdateBrowseVar(BOOL update)
     int *piAllVariableBytes = (int *)MALLOC((iLocalVariablesUsed + iGlobalVariablesUsed) * sizeof(int));
     char **pstAllVariableSizes = (char **)MALLOC((iLocalVariablesUsed + iGlobalVariablesUsed) * sizeof(char *));
     int *piAllVariableTypes = (int *)MALLOC((iLocalVariablesUsed + iGlobalVariablesUsed) * sizeof(int));
-    bool *piAllVariableFromUser = (bool *) MALLOC((iLocalVariablesUsed + iGlobalVariablesUsed) * sizeof(BOOL));
+    bool *piAllVariableFromUser = (bool *) MALLOC((iLocalVariablesUsed + iGlobalVariablesUsed) * sizeof(bool));
     int nbRows, nbCols;
     char *sizeStr = NULL;