Skip to content

Commit 03f73fa

Browse files
akorotkovzilder
authored andcommitted
Fix lossiness check.
1 parent 2fcdddd commit 03f73fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pathman/rangeset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ irange_list_find(List *rangeset, int index, bool *lossy)
181181
if (index >= irange_lower(irange) && index <= irange_upper(irange))
182182
{
183183
if (lossy)
184-
*lossy = irange_is_lossy(irange);
184+
*lossy = irange_is_lossy(irange) ? true : false;
185185
return true;
186186
}
187187
}

0 commit comments

Comments
 (0)