Changeset 1024


Ignore:
Timestamp:
Jun 8, 2008, 7:00:19 PM (16 years ago)
Author:
gah
Message:

64-bit hash table fix for fortrans

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpUnitsFInterface.cc

    r1018 r1024  
    1818#include "RpBindingsDict.h"
    1919
    20 int
     20extern "C" int
    2121rp_define_unit( char* unitName,
    2222                    int* basisName,
     
    3333
    3434    if (basisName && *basisName) {
    35         basisStrName = ObjDictUnits.find(*basisName);
     35        long key = (long)*basisName;
     36        basisStrName = ObjDictUnits.find(key);
    3637
    3738        if (basisStrName != "") {
Note: See TracChangeset for help on using the changeset viewer.