Merge "liblights: fix compiler warnings"