fix bad function declaration. Flags can't be enums.

This commit is contained in:
Simon Morlat 2016-12-09 16:55:00 +01:00
parent e0fdfbb13b
commit 77b3564a43
3 changed files with 3 additions and 3 deletions

View file

@ -202,7 +202,7 @@ void linphone_core_set_log_level(OrtpLogLevel loglevel) {
linphone_core_set_log_level_mask(mask);
}
void linphone_core_set_log_level_mask(OrtpLogLevel loglevel) {
void linphone_core_set_log_level_mask(unsigned int loglevel) {
ortp_set_log_level_mask(NULL, loglevel);
bctbx_set_log_level_mask(NULL, loglevel);
if (loglevel == 0) {

View file

@ -2346,7 +2346,7 @@ LINPHONE_PUBLIC void linphone_core_set_log_level(OrtpLogLevel loglevel);
*
* @param loglevel A bitmask of the log levels to set.
*/
LINPHONE_PUBLIC void linphone_core_set_log_level_mask(OrtpLogLevel loglevel);
LINPHONE_PUBLIC void linphone_core_set_log_level_mask(unsigned int loglevel);
/**
* Enable logs in supplied FILE*.

@ -1 +1 @@
Subproject commit 52c02e402c502359b0b6c95d8afcf4435609b8ab
Subproject commit 17a9184f5d87eaf13f481215f63e338a5124b03a