1
1

while working on a fix for the Get flow in pml, I've encountered a problem in "mca_pml_ob1_compute_segment_length" function, at pml_ob1.h file.

The return value from this function was truncated from size_t to int. This fix changes the return value to type size_t.

This commit was SVN r26863.
Этот коммит содержится в:
Yael Dayan 2012-07-25 12:08:41 +00:00
родитель b0e2dc7ae3
Коммит 8cad1d6481

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

@ -284,7 +284,7 @@ void mca_pml_ob1_process_pending_rdma(void);
/*
* Compute the total number of bytes on supplied descriptor
*/
static inline int mca_pml_ob1_compute_segment_length (size_t seg_size, void *segments, size_t count,
static inline size_t mca_pml_ob1_compute_segment_length (size_t seg_size, void *segments, size_t count,
size_t hdrlen) {
size_t i, length = 0;