first interval was not always considered in memory backend request
Change-Id: I3741d182d362da835a08a1771fa87421744c9fff
Signed-off-by: Jean-Christian Kouame
Reviewed-on: https://git.eclipse.org/r/14117
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
/* The returned value is < 0 if the exact key was not found. */
if (mid < 0) {
- mid = -mid;
+ mid = -mid - 1;
}
/*