From: Todd C. Miller Date: Mon, 20 Dec 2010 21:16:08 +0000 (-0500) Subject: Remove useless cast X-Git-Tag: SUDO_1_8_0~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30797ab8aed216253b8be21bb0911709a2b1c33e;p=sudo Remove useless cast --- diff --git a/compat/dlopen.c b/compat/dlopen.c index 0307e786e..fa7fd71ff 100644 --- a/compat/dlopen.c +++ b/compat/dlopen.c @@ -77,7 +77,7 @@ sudo_dlsym(void *vhandle, const char *symbol) shl_t handle = vhandle; void *value = NULL; - (void)shl_findsym(&handle, symbol, TYPE_UNDEFINED, (void *)&value); + (void)shl_findsym(&handle, symbol, TYPE_UNDEFINED, &value); return value; }