You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling Meschach with high warning levels, I get a lot of those. Especially type conversion warnings. May, should and if yes, how should I fix these?
For example,
unsigned int u = 43;
int i = 24;
if (i == j) {
/* Do something */
}
Should I make it
if ((int) i == j)
if (i == (unsigned int) j)
leave it as it is: this maybe just common C style
I'd love to help and fix this, but I the C coding standards I checked briefly gave no aid in how to treat this compiler warning.
The text was updated successfully, but these errors were encountered:
Hi yageek,
When compiling Meschach with high warning levels, I get a lot of those. Especially type conversion warnings. May, should and if yes, how should I fix these?
For example,
Should I make it
if ((int) i == j)
if (i == (unsigned int) j)
I'd love to help and fix this, but I the C coding standards I checked briefly gave no aid in how to treat this compiler warning.
The text was updated successfully, but these errors were encountered: