27-04-2016, 11:05 AM
In the following example there is an implicit conversion from (char *) to (uint8_t *):
Am I correct in thinking that this is compliant? Or does the exception to rule 11.3 only apply when conversions are explicit?
Thanks.
Code:
extern void print(const uint8_t *text);
int main(void)
{
print("Some text");
}
Am I correct in thinking that this is compliant? Or does the exception to rule 11.3 only apply when conversions are explicit?
Thanks.
<t></t>