Browse Source

Fix implicit conversion warning.

shared-context
Dag Ågren GitHub 7 years ago
parent
commit
b124bbbaf5
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/fontstash.h

+ 2
- 1
src/fontstash.h View File

@@ -873,7 +873,8 @@ error:
int fonsAddFont(FONScontext* stash, const char* name, const char* path)
{
FILE* fp = 0;
int dataSize = 0, readed;
int dataSize = 0;
size_t readed;
unsigned char* data = NULL;

// Read in the font data.


Loading…
Cancel
Save