bk: 4a159ebcTdNvtQ6PpkIk7JeuRG9QMQ
+* Bug [1193] Compile error: conflicting types for emalloc
(4.2.5p178) 2009/05/21 Released by Harlan Stenn <stenn@ntp.org>
* Provide erealloc() and estrdup(), a la emalloc().
* Improve ntp.conf's parser error messages.
void *
emalloc(
- u_int size
+ size_t size
)
{
return erealloc(NULL, size);
if (NULL == copy) {
msyslog(LOG_ERR,
- "fatal out of memory duplicating %d byte "
+ "fatal out of memory duplicating %u byte "
"string '%s'",
- strlen(str) + 1, str);
+ (u_int)strlen(str) + 1, str);
exit(1);
}