Type casting error in SDP

Signed-off-by: Malric <malricdal@gmail.com>