libffado-libconfig145.patch 617 B

12345678910111213
  1. --- libffado.old/src/libutil/Configuration.cpp 2010-06-19 14:31:27.000000000 -0400
  2. +++ libffado/src/libutil/Configuration.cpp 2010-07-14 01:37:57.000000000 -0400
  3. @@ -333,7 +333,8 @@ Configuration::getValueForDeviceSetting(
  4. libconfig::Setting *s = getDeviceSetting( vendor_id, model_id );
  5. if(s) {
  6. try {
  7. - return s->lookupValue(setting, ref);
  8. + long long int refverylong = ref;
  9. + return s->lookupValue(setting, refverylong);
  10. } catch (...) {
  11. debugOutput(DEBUG_LEVEL_VERBOSE, "Setting %s not found\n", setting.c_str());
  12. return false;