From 2dfdbf26b4a817f61f973965fe51cc9f69977644 Mon Sep 17 00:00:00 2001 From: rfm Date: Sat, 3 Jun 2006 19:30:33 +0000 Subject: [PATCH] cast to fix compiler warning git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23024 72102866-910b-0410-8b05-ffd578937521 --- Source/mframe/unknown/generic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/mframe/unknown/generic b/Source/mframe/unknown/generic index cebad6d9a..1a752dce0 100644 --- a/Source/mframe/unknown/generic +++ b/Source/mframe/unknown/generic @@ -33,7 +33,7 @@ \ (CUM) = ROUND((CUM), align); \ (TYPE) = objc_skip_typespec(type); \ - sprintf((DEST), "%.*s%d", (TYPE)-type, type, (CUM)); \ + sprintf((DEST), "%.*s%d", (int)((TYPE)-type), type, (CUM)); \ if (*(TYPE) == '+') \ { \ (TYPE)++; \