From 72f7d9d6cf0e4e0131bb576bea2bc50c97e7b803 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 23 Mar 2016 14:06:44 +0000 Subject: [PATCH] Fixed warnings. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@52197 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- tools/flexcat/src/createcatsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/flexcat/src/createcatsrc.c b/tools/flexcat/src/createcatsrc.c index 1724ec5677..9d1b813aa0 100644 --- a/tools/flexcat/src/createcatsrc.c +++ b/tools/flexcat/src/createcatsrc.c @@ -666,7 +666,7 @@ void CreateSourceFile(char *SourceFile, char *TemplateFile, char *CDFile) char *start; char _StrLen[20 + 1]; - snprintf(_StrLen, sizeof(_StrLen), "%020lx", (uint32)cs->ID); + snprintf(_StrLen, sizeof(_StrLen), "%020lx", (long unsigned)cs->ID); start = &_StrLen[20 - _len * 2]; while(_len > 0) { @@ -681,7 +681,7 @@ void CreateSourceFile(char *SourceFile, char *TemplateFile, char *CDFile) char *start; char _StrLen[20 + 1]; - snprintf(_StrLen, sizeof(_StrLen), "%020lx", (uint32)((CalcRealLength(cs->CD_Str) + 1) & 0xfffffe)); + snprintf(_StrLen, sizeof(_StrLen), "%020lx", (long unsigned)((CalcRealLength(cs->CD_Str) + 1) & 0xfffffe)); start = &_StrLen[20 - _len * 2]; while(_len > 0) { -- 2.11.4.GIT