From d60c03e7b6a3a494ba64428b08c5fc1c0f491548 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Mon, 21 Jul 2003 19:08:55 +0000 Subject: [PATCH] Get rid of a warning. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1081 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/uio/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/uio/debug.c b/sc2/src/sc2code/libs/uio/debug.c index b1d56ce10..38663be3b 100644 --- a/sc2/src/sc2code/libs/uio/debug.c +++ b/sc2/src/sc2code/libs/uio/debug.c @@ -397,7 +397,7 @@ debugCmdCat(DebugContext *debugContext, int argc, char *argv[]) { totalWritten += numWritten; } while (numInBuf > 0); } - fprintf(debugContext->out, "[%d bytes]\n", totalWritten); + fprintf(debugContext->out, "[%u bytes]\n", (unsigned int) totalWritten); uio_close(handle); return 0;