diff --git a/src/sim65/cfgdata.c b/src/sim65/cfgdata.c index fc1d428bd..5c33ea2a7 100644 --- a/src/sim65/cfgdata.c +++ b/src/sim65/cfgdata.c @@ -217,7 +217,7 @@ int CfgDataGetNum (Collection* Attributes, const char* Name, long* Val) * true. If not found, return false. */ { - CfgData* D = CfgDataGetTyped (Attributes, Name, CfgDataString); + CfgData* D = CfgDataGetTyped (Attributes, Name, CfgDataNumber); if (D == 0) { /* Not found or wrong type */ return 0;