Skip to content

Commit

Permalink
cfloat: correct mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Apr 1, 2024
1 parent a362138 commit 6ba7afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bld/cfloat/c/cfconv.c
Expand Up @@ -95,7 +95,7 @@ char *CFCnvFS( cfloat *f, char *buffer, int maxlen )
}
*buffer++ = f->mant[0];
*buffer++ = '.'; /* don't forget decimal point!*/
strcpy( buffer, f->mant + 1 ); /* copy mantissa*/
memcpy( buffer, f->mant + 1, len ); /* copy mantissa*/
buffer += len;
*buffer++ = 'E';
if( f->exp > 0 ) {
Expand Down

0 comments on commit 6ba7afd

Please sign in to comment.