Fixed a couple of warnings

fixed two wrong formats on 64bit machine
http://stackoverflow.com/questions/22671347/nsuinteger-should-not-be-used-in-format-strings

and one analyser 'garbage' warning