mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Fix type conversion compiler warnings (from dadeos)
This commit is contained in:
parent
a3f32381c4
commit
5864c45fe3
2 changed files with 44 additions and 43 deletions
4
imgui.h
4
imgui.h
|
|
@ -622,7 +622,7 @@ struct ImBitmapFont
|
|||
#pragma pack(pop)
|
||||
|
||||
unsigned char* Data; // Raw data, content of .fnt file
|
||||
int DataSize; //
|
||||
size_t DataSize; //
|
||||
bool DataOwned; //
|
||||
const FntInfo* Info; // (point into raw data)
|
||||
const FntCommon* Common; // (point into raw data)
|
||||
|
|
@ -637,7 +637,7 @@ struct ImBitmapFont
|
|||
ImBitmapFont();
|
||||
~ImBitmapFont() { Clear(); }
|
||||
|
||||
bool LoadFromMemory(const void* data, int data_size);
|
||||
bool LoadFromMemory(const void* data, size_t data_size);
|
||||
bool LoadFromFile(const char* filename);
|
||||
void Clear();
|
||||
void BuildLookupTable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue