Ticket #290: libffado-libconfig145.patch

File libffado-libconfig145.patch, 0.6 kB (added by oget, 2 years ago)

make ffado compile against libconfig-1.4.5. Backwards compatible patch.

  • libffado/src/libutil/Configuration.cpp

    old new  
    333333    libconfig::Setting *s = getDeviceSetting( vendor_id, model_id ); 
    334334    if(s) { 
    335335        try { 
    336             return s->lookupValue(setting, ref); 
     336            long long int refverylong = ref; 
     337            return s->lookupValue(setting, refverylong); 
    337338        } catch (...) { 
    338339            debugOutput(DEBUG_LEVEL_VERBOSE, "Setting %s not found\n", setting.c_str()); 
    339340            return false;