fix compiler warning
This commit is contained in:
parent
c6b1b8e2f1
commit
06e1cd7216
@ -70,7 +70,7 @@ const char *fp_ident(void)
|
|||||||
#ifdef TFM_HUGE
|
#ifdef TFM_HUGE
|
||||||
" TFM_HUGE "
|
" TFM_HUGE "
|
||||||
#endif
|
#endif
|
||||||
"\n", __DATE__, sizeof(fp_digit), sizeof(fp_word), FP_MAX_SIZE);
|
"\n", __DATE__, (unsigned long)sizeof(fp_digit), (unsigned long)sizeof(fp_word), FP_MAX_SIZE);
|
||||||
|
|
||||||
if (sizeof(fp_digit) == sizeof(fp_word)) {
|
if (sizeof(fp_digit) == sizeof(fp_word)) {
|
||||||
strncat(buf, "WARNING: sizeof(fp_digit) == sizeof(fp_word), this build is likely to not work properly.\n",
|
strncat(buf, "WARNING: sizeof(fp_digit) == sizeof(fp_word), this build is likely to not work properly.\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user