cu: fixing int-to-bool compile warnings