Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18463] TiBase.h in ios module code has warning

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTiBase.h, ios, module
ReporterJerry
AssigneeUnknown
Created2015-01-27T14:39:35.000+0000
Updated2018-02-28T19:55:15.000+0000

Description

Steps to Reproduce

Warning when building module in ios: Values of type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead

Actual Result

change this macro in TiBase.h: #define ENSURE_ARG_COUNT(x,c) \nif ([x count]Expected Result to: #define ENSURE_ARG_COUNT(x,c) \nif ([x count]

Comments

No comments

JSON Source