Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8e46fe9 authored by Suneesh Sasikumar's avatar Suneesh Sasikumar
Browse files

BroadcastRadio/convert.cpp: fix compiler warning

```
warning: format specifies type 'int' but the argument has type 'Region'
```

Change-Id: I44edec6aee48f4a4392947ed0b8a29d5ea1b9c8b
parent 4c1803f8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ static Rds RdsForRegion(bool rds, Region region) {
        case Region::ITU_2:
            return Rds::US;
        default:
            ALOGE("Unexpected region: %d", region);
            ALOGE("Unexpected region: %d", static_cast<int>(region));
            return Rds::NONE;
    }
}
@@ -365,7 +365,7 @@ static Deemphasis DeemphasisForRegion(Region region) {
        case Region::JAPAN:
            return Deemphasis::D50;
        default:
            ALOGE("Unexpected region: %d", region);
            ALOGE("Unexpected region: %d", static_cast<int>(region));
            return Deemphasis::D50;
    }
}