Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence some Windows compiler warnings #79

Merged
merged 1 commit into from
Feb 18, 2014
Merged

Conversation

Tilka
Copy link
Member

@Tilka Tilka commented Feb 16, 2014

by adding explicit type casts.

out->Y = 0.257f * color[RED_C] + 0.504f * color[GRN_C] + 0.098f * color[BLU_C];
out->U = -0.148f * color[RED_C] + -0.291f * color[GRN_C] + 0.439f * color[BLU_C];
out->V = 0.439f * color[RED_C] + -0.368f * color[GRN_C] + -0.071f * color[BLU_C];
out->Y = (u8) ( 0.257f * color[RED_C] + 0.504f * color[GRN_C] + 0.098f * color[BLU_C]);

This comment was marked as off-topic.

by adding explicit type casts.
delroth added a commit that referenced this pull request Feb 18, 2014
Silence some Windows compiler warnings
@delroth delroth merged commit a18e824 into dolphin-emu:master Feb 18, 2014
@Tilka Tilka deleted the nits branch February 18, 2014 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants