diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-08-01 11:20:33 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-08-01 11:20:33 +0000 |
commit | 62ab563ae1c771a4c0a95758d75425a900f832b4 (patch) | |
tree | 469ba5c1ed4ab2750437aaf7bdd7cde782f2d409 | |
parent | 7e4954cd3f15a74b93e1414f8d9467b2abc0369c (diff) |
fix build warnings for buildrom (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3439 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/buildrom/buildrom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/buildrom/buildrom.c b/util/buildrom/buildrom.c index 3d19389b94..385b707e53 100644 --- a/util/buildrom/buildrom.c +++ b/util/buildrom/buildrom.c @@ -66,15 +66,15 @@ int main(int argc, char *argv[]) fatal("stat of infile"); if (payloadbuf.st_size > (romsize - size)){ fprintf(stderr, "ERROR: payload (%d) + coreboot (%d) - Size is %d bytes larger than ROM size (%d).\n", - payloadbuf.st_size, size, - payloadbuf.st_size+size-romsize, + (int)payloadbuf.st_size, size, + (int)(payloadbuf.st_size+size-romsize), romsize); exit(1); } printf("Payload: %d coreboot: %d ROM size: %d Left space: %d\n", - payloadbuf.st_size, size, romsize, - romsize-payloadbuf.st_size-size); + (int)payloadbuf.st_size, size, romsize, + (int)(romsize-payloadbuf.st_size-size)); cp = malloc(romsize); if (!cp) |