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)
|
if (i == _rInfoCount)
|
||||||
{
|
{
|
||||||
snprintf(ebuf, sizeof(ebuf),
|
snprintf(ebuf, sizeof(ebuf),
|
||||||
"%s requested unallocated RInfo struct (socket %d)",
|
"%s requested unallocated RInfo struct (socket %ld)",
|
||||||
__FUNCTION__, s);
|
__FUNCTION__, (long int)s);
|
||||||
gdomap_log(LOG_ERR);
|
gdomap_log(LOG_ERR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -585,8 +585,8 @@ delWInfo(int s)
|
||||||
if (i == _wInfoCount)
|
if (i == _wInfoCount)
|
||||||
{
|
{
|
||||||
snprintf(ebuf, sizeof(ebuf),
|
snprintf(ebuf, sizeof(ebuf),
|
||||||
"%s requested unallocated WInfo struct (socket %d)",
|
"%s requested unallocated WInfo struct (socket %ld)",
|
||||||
__FUNCTION__, s);
|
__FUNCTION__, (long int)s);
|
||||||
gdomap_log(LOG_ERR);
|
gdomap_log(LOG_ERR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue