]> git.proxmox.com Git - mirror_frr.git/commit - lib/routemap.c
lib: fix ICC warning in route-map code
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 21 Sep 2016 10:49:30 +0000 (12:49 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Sep 2016 16:12:16 +0000 (12:12 -0400)
commit01673c6817bcd443118dd1d35aaf7071001aaf3f
tree1233aedca3ee05b58e12efd794c0a544d420eb92
parentbb4ac22a1f22d1b9b1950fa3f373cb2953411863
lib: fix ICC warning in route-map code

ICC thinks we're storing a pointer and might be losing bits at the top:
error #810: conversion from "void *" to "route_map_event_t={enum
 <unnamed>}" may lose significant bits

Build is warning-free on ICC 14.0.3 (for Linux x86_64) with this.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/routemap.c