Re: [lustre-devel] [PATCH 1/2] Fixed signedness check

2017-01-12 Thread Dilger, Andreas
On Dec 26, 2016, at 08:43, Guillermo O. Freschi wrote: > > Was `unsigned int`, but `enum`s are signed. Interesting that GCC didn't complain that the itree_overlap_cb() function signature didn't match the argument prototype for interval_search(): typedef enum interval_iter

Re: [lustre-devel] [PATCH 1/2] Fixed signedness check

2017-01-12 Thread Dilger, Andreas
On Dec 26, 2016, at 08:43, Guillermo O. Freschi wrote: > > Was `unsigned int`, but `enum`s are signed. Interesting that GCC didn't complain that the itree_overlap_cb() function signature didn't match the argument prototype for interval_search(): typedef enum interval_iter