Add a cast to avoid a compiler warnings on BSD.
This commit was SVN r23502.
Этот коммит содержится в:
родитель
0ce1a82cde
Коммит
245dc1a86d
@ -211,7 +211,7 @@ static int opal_ifinit(void)
|
|||||||
intf = OBJ_NEW(opal_if_t);
|
intf = OBJ_NEW(opal_if_t);
|
||||||
if (NULL == intf) {
|
if (NULL == intf) {
|
||||||
opal_output(0, "opal_ifinit: unable to allocate %lu bytes\n",
|
opal_output(0, "opal_ifinit: unable to allocate %lu bytes\n",
|
||||||
sizeof(opal_if_t));
|
(int) sizeof(opal_if_t));
|
||||||
return OPAL_ERR_OUT_OF_RESOURCE;
|
return OPAL_ERR_OUT_OF_RESOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user