summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2011-04-13 21:49:54 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-05-10 18:15:25 +0100
commit893d20fbae483913250a5d8bd9b4ce861a3adf2a (patch)
tree02c7e6c39a13fbd67ed09ee73ca70c40ec89c8e1 /arch
parent403fbdff96057ad312b672408ec676782a802b74 (diff)
downloadlinux-893d20fbae483913250a5d8bd9b4ce861a3adf2a.tar.gz
linux-893d20fbae483913250a5d8bd9b4ce861a3adf2a.tar.bz2
linux-893d20fbae483913250a5d8bd9b4ce861a3adf2a.zip
MIPS: Fix calc_vmlinuz_load_addr build warnings.
HOSTCC arch/mips/boot/compressed/calc_vmlinuz_load_addr arch/mips/boot/compressed/calc_vmlinuz_load_addr.c: In function 'main': arch/mips/boot/compressed/calc_vmlinuz_load_addr.c:35:2: warning: format '%llx' expects type 'long long unsigned int *', but argument 3 has type 'uint64_t *' arch/mips/boot/compressed/calc_vmlinuz_load_addr.c:54:2: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'uint64_t' Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/boot/compressed/calc_vmlinuz_load_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boot/compressed/calc_vmlinuz_load_addr.c b/arch/mips/boot/compressed/calc_vmlinuz_load_addr.c
index 88c9d963be88..9a6243676e22 100644
--- a/arch/mips/boot/compressed/calc_vmlinuz_load_addr.c
+++ b/arch/mips/boot/compressed/calc_vmlinuz_load_addr.c
@@ -16,8 +16,8 @@
int main(int argc, char *argv[])
{
+ unsigned long long vmlinux_size, vmlinux_load_addr, vmlinuz_load_addr;
struct stat sb;
- uint64_t vmlinux_size, vmlinux_load_addr, vmlinuz_load_addr;
if (argc != 3) {
fprintf(stderr, "Usage: %s <pathname> <vmlinux_load_addr>\n",