Fix format string warnings on OS X
Fix format string warnings on OS X

- %d expects an int so I added a cast to ensure we give it an int
  as on 64-bit what size() returns is larger than an int.

Xetlin/Lua,hksonngan/Polycode,ivansafrin/Polycode,zeebok/Polycode,thorsummoner/polycode,ivansafrin/Polycode,sshaileshk/Polycode,fodinabor/Polycode,Xetlin/Lua,Xetlin/Lua,ivansafrin/Polycode,zeebok/Polycode,carlosmarti/Polycode,cartman300/Polycode,sshaileshk/Polycode,mcanthony/Polycode,carlosmarti/Polycode,GovanifY/Polycode,sshaileshk/Polycode,zeebok/Polycode,GovanifY/Polycode,mcanthony/Polycode,cartman300/Polycode,thorsummoner/polycode,cartman300/Polycode,thorsummoner/polycode,hksonngan/Polycode,cartman300/Polycode,zeebok/Polycode,hksonngan/Polycode,Xetlin/Lua,ivansafrin/Polycode,mcanthony/Polycode,fodinabor/Polycode,thorsummoner/polycode,sshaileshk/Polycode,mcanthony/Polycode,carlosmarti/Polycode,fodinabor/Polycode,GovanifY/Polycode,hksonngan/Polycode,GovanifY/Polycode,fodinabor/Polycode