mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 08:10:49 +00:00
minor type cast to fix output for platforms where socket is unsigned
This commit is contained in:
parent
6ab0e3465f
commit
94e10f0447
1 changed files with 4 additions and 4 deletions
|
@ -511,8 +511,8 @@ delRInfo(int s)
|
|||
if (i == _rInfoCount)
|
||||
{
|
||||
snprintf(ebuf, sizeof(ebuf),
|
||||
"%s requested unallocated RInfo struct (socket %d)",
|
||||
__FUNCTION__, s);
|
||||
"%s requested unallocated RInfo struct (socket %ld)",
|
||||
__FUNCTION__, (long int)s);
|
||||
gdomap_log(LOG_ERR);
|
||||
return;
|
||||
}
|
||||
|
@ -585,8 +585,8 @@ delWInfo(int s)
|
|||
if (i == _wInfoCount)
|
||||
{
|
||||
snprintf(ebuf, sizeof(ebuf),
|
||||
"%s requested unallocated WInfo struct (socket %d)",
|
||||
__FUNCTION__, s);
|
||||
"%s requested unallocated WInfo struct (socket %ld)",
|
||||
__FUNCTION__, (long int)s);
|
||||
gdomap_log(LOG_ERR);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue