mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-28 14:21:07 +00:00
common/hud: fix a conversion warning
warning C4242: 'argument' : conversion from 'int' to 'char', possible loss of data
This commit is contained in:
parent
d4c62d4aef
commit
ccbfea69b1
@ -278,7 +278,7 @@ int
|
|||||||
Hud::drawString(std::vector<float> &vboSource, int x, int y, float r, float g, float b, const char *c) const
|
Hud::drawString(std::vector<float> &vboSource, int x, int y, float r, float g, float b, const char *c) const
|
||||||
{
|
{
|
||||||
while(*c) {
|
while(*c) {
|
||||||
int ch = (*c) & 0x7f;
|
char ch = (*c) & 0x7f;
|
||||||
x = drawChar(vboSource, x, y, r, g, b, ch);
|
x = drawChar(vboSource, x, y, r, g, b, ch);
|
||||||
c++;
|
c++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user