fix compiler warning

This commit is contained in:
Steffen Jaeckel 2014-06-14 17:39:18 +02:00
parent c6b1b8e2f1
commit 06e1cd7216

View File

@ -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",