Changeset 851 for cpp/frams/util/extvalue.cpp
- Timestamp:
- 02/02/19 20:50:07 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/extvalue.cpp
r845 r851 964 964 logPrintf("ExtValue", "getInt", LOG_ERROR, "Getting integer value from object reference (%s)", getString().c_str()); 965 965 return (paInt)(intptr_t)odata().param; 966 case TUnknown: 967 case TInvalid: 968 logPrintf("ExtValue", "getInt", LOG_ERROR, "Getting integer value from %s", getString().c_str()); 969 return 0; 966 970 default:; 967 971 } … … 979 983 logPrintf("ExtValue", "getDouble", LOG_ERROR, "Getting floating point value from object reference (%s)", getString().c_str()); 980 984 return (double)(intptr_t)odata().param; 985 case TUnknown: 986 case TInvalid: 987 logPrintf("ExtValue", "getInt", LOG_ERROR, "Getting floating point value from %s", getString().c_str()); 988 return 0.0; 981 989 default:; 982 990 }
Note: See TracChangeset
for help on using the changeset viewer.