Ignore:
Timestamp:
09/30/11 14:35:13 (13 years ago)
Author:
adeas31
Message:
  • Fixed void* return for 64 bit machines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/core/mi/command/CommandFactory.java

    r982 r1033  
    291291     */
    292292    public MIDataEvaluateExpression createMIGetListItem(String expression, int index) {
    293         return new MIDataEvaluateExpression("listGet(" + expression + ", " + index + ")");
     293        return new MIDataEvaluateExpression("((long (*) (long)) listGet)(" + expression + ", " + index + ")");
    294294    }
    295295   
     
    311311     */
    312312    public MIDataEvaluateExpression createMIGetArrayElement(String expression, int index) {
    313         return new MIDataEvaluateExpression("arrayGet(" + expression + ", " + index + ")");
     313        return new MIDataEvaluateExpression("((long (*) (long)) arrayGet)(" + expression + ", " + index + ")");
    314314    }
    315315   
Note: See TracChangeset for help on using the changeset viewer.