]> git.proxmox.com Git - mirror_frr.git/commit - lib/skiplist.c
lib: fix SA warning in skiplist code
authorDavid Lamparter <equinox@opensourcerouting.org>
Sat, 8 Sep 2018 17:47:05 +0000 (19:47 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sat, 8 Sep 2018 18:34:35 +0000 (20:34 +0200)
commitf70247febe1e61bb77f9ba318a7dea55491d0b84
treef8601694f0f8195c426edf3796120d1b67ce9b86
parenta43ad4fef85196592e59665fa9b69eddb30592e0
lib: fix SA warning in skiplist code

Clang was thinking the random level could be negative.  (And, no, I
couldn't figure that out by reading its output... trial and error this
was.)

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/skiplist.c