1
1

fix type warning in openib btl

This commit was SVN r24419.
Этот коммит содержится в:
Doron Shoham 2011-02-21 15:13:30 +00:00
родитель 89ba89e812
Коммит e5eef80364
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1220,14 +1220,14 @@ mca_btl_base_descriptor_t* mca_btl_openib_prepare_dst(
/* check if user has explicitly limited the max message size */
if (openib_component->max_hw_msg_size > 0 &&
max_msg_sz > openib_component->max_hw_msg_size) {
max_msg_sz > (uint32_t)openib_component->max_hw_msg_size) {
max_msg_sz = openib_component->max_hw_msg_size;
}
/* limit the message so to max_msg_sz*/
if (*size > max_msg_sz) {
*size = max_msg_sz;
BTL_VERBOSE(("message size limited to %d", *size));
BTL_VERBOSE(("message size limited to %u", (uint32_t)*size));
}
opal_convertor_get_current_pointer(convertor, &buffer);

Просмотреть файл

@ -2770,7 +2770,7 @@ btl_openib_component_init(int *num_btl_modules,
}
if (mca_btl_openib_component.max_hw_msg_size > 0 &&
mca_btl_openib_component.max_hw_msg_size > openib_btl->ib_port_attr.max_msg_sz) {
(uint32_t)mca_btl_openib_component.max_hw_msg_size > openib_btl->ib_port_attr.max_msg_sz) {
BTL_ERROR(("max_hw_msg_size (%d) is larger than hw max message size (%d)",
mca_btl_openib_component.max_hw_msg_size, openib_btl->ib_port_attr.max_msg_sz));
}