Windows: Fix 64-bit compile errors (issue #394).

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk@1361 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
Mac: Fix 64-bit compile errors.

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk@1364 5089003a-bbd8-11dd-ad1f-f1f9622dbc98