Inconsistent conversion warnings from integer to capability in purecap
sbaranga-arm opened this issue · 0 comments
sbaranga-arm commented
char* f() { return (char*) 0x1234abcd; } char* g() { unsigned long tmp = 0x1234abcd; return (char*) tmp; }
We get a warning for the cast in f() but not for the one in g().