It looks like c++ enum cannot be used as a mask

This commit is contained in:
Jehan Monnier 2017-07-27 10:09:01 +02:00
parent 58c9d50970
commit 23d28dbb02

View file

@ -472,7 +472,7 @@ void linphone_core_set_log_file(FILE *file) {
}
void linphone_core_set_log_level(OrtpLogLevel loglevel) {
OrtpLogLevel mask = loglevel;
unsigned int mask = loglevel;
switch (loglevel) {
case ORTP_TRACE:
case ORTP_DEBUG: