Merge pull request #322 from chinhodado/master

More warning cleanups
This commit is contained in:
bunnei 2014-12-22 00:12:43 -05:00
commit 2188af4a65
7 changed files with 21 additions and 18 deletions

View file

@ -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");