Skip to content
Snippets Groups Projects
Commit bf2716f6 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

bugfix for %8F

Rev: src/modules/sprintf/sprintf.c:1.24
parent f1a4305f
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@
*/
#include "global.h"
RCSID("$Id: sprintf.c,v 1.23 1998/07/26 10:26:50 hubbe Exp $");
RCSID("$Id: sprintf.c,v 1.24 1998/07/29 22:59:10 hubbe Exp $");
#include "error.h"
#include "array.h"
#include "svalue.h"
......@@ -958,7 +958,8 @@ static string low_pike_sprintf(char *format,
break;
case 8:
#ifdef DOUBLE_IS_IEEE_BIG
MEMCPY(fsp->b, &tf, 8);
td = (double)tf;
MEMCPY(fsp->b, &td, 8);
#else
#ifdef DOUBLE_IS_IEEE_LITTLE
td = (double)tf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment