Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler warning when compling NSFontAssetRequest.m in libs-gui
Cast the result type of CALL_NON_NULL_BLOCK to void to satisfy the ? operator. ``` NSFontAssetRequest.m:48:3: error: incompatible operand types ('int' and 'id') 48 | CALL_BLOCK(completionHandler, error); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:/tools/msys64/ucrt64/include/GNUstepBase/GSBlocks.h:110:53: note: expanded from macro 'CALL_BLOCK' 110 | #define CALL_BLOCK(block, args...) ((NULL != block) ? CALL_NON_NULL_BLOCK(block, args) : nil) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ 1 error generated. ```
- Loading branch information