1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/lang/ficl/files/patch-float.c
Michael Scheidell 636437f3d1 - Update to 4.1.0
- Pass maintainership to submitter

PR:		ports/166292
Submitted by:	Pavel I Volkov <pavelivolkov@googlemail.com> (maintainer)
Approved by:	Pavel I Volkov <pavelivolkov@googlemail.com> (maintainer)
Feature safe:	yes
2012-03-22 12:07:14 +00:00

12 lines
507 B
C

--- float.c.orig 2010-09-13 22:43:04.000000000 +0400
+++ float.c 2012-03-20 19:09:18.000000000 +0400
@@ -159,7 +159,7 @@
{
struct stackContext *context = (struct stackContext *)c;
char buffer[64];
- sprintf(buffer, "[0x%08x %3d] %16f (0x%08x)\n", cell, context->count++, (double)(cell->f), cell->i);
+ sprintf(buffer, "[0x%08lx %3d] %16f (0x%08lx)\n", (long unsigned)cell, context->count++, (double)(cell->f), (long)cell->i);
ficlVmTextOut(context->vm, buffer);
return FICL_TRUE;
}