Skip to content

Fix build with clang

Christoph Reiter requested to merge creiter/libnice:fix-clang-build into master

Building libnice with clang 15 fails with:

interfaces.c:913:12: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'guint' (aka 'unsigned int') [-Wint-conversion] return NULL;

Fix by returning 0 instead.

Merge request reports