From e88501320e4342550868a7797da6bd7d81ae09d6 Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Sat, 30 Nov 2013 04:07:32 +0000 Subject: [PATCH] copytoafs: x86_64 compiler delint - sizeof(SIPTR) != sizeof(LONG) Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48476 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- tools/copytoafs/copytoafs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/copytoafs/copytoafs.c b/tools/copytoafs/copytoafs.c index db6e530fa6..a852ad4576 100644 --- a/tools/copytoafs/copytoafs.c +++ b/tools/copytoafs/copytoafs.c @@ -12,7 +12,7 @@ #include "misc.h" #include "volumes.h" -LONG error; +SIPTR error; struct PathElement { struct PathElement *next; @@ -127,12 +127,12 @@ struct AfsHandle *dah; retval = 0; } else - printf("error %ld\n", error); + printf("error %ld\n", (long)error); } closef(NULL, ah); } else - printf("error %ld\n", error); + printf("error %ld\n", (long)error); return retval; } @@ -400,11 +400,11 @@ struct Volume *volume; flush(afsbase, volume); } else - printf("Error %ld!\n", error); + printf("Error %ld!\n", (long)error); uninitVolume(afsbase, volume); } else - printf("Error %ld!\n", error); + printf("Error %ld!\n", (long)error); } return retval; } -- 2.11.4.GIT