More warning cleanups
This commit is contained in:
parent
2e5869c939
commit
0199a7d9ef
7 changed files with 21 additions and 18 deletions
|
@ -315,8 +315,8 @@ Interface::Interface() {
|
|||
|
||||
if (file.IsOpen()) {
|
||||
// Read shared font data
|
||||
shared_font.resize(file.GetSize());
|
||||
file.ReadBytes(shared_font.data(), file.GetSize());
|
||||
shared_font.resize((size_t)file.GetSize());
|
||||
file.ReadBytes(shared_font.data(), (size_t)file.GetSize());
|
||||
|
||||
// Create shared font memory object
|
||||
shared_font_mem = Kernel::CreateSharedMemory("APT_U:shared_font_mem");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue