]> granicus.if.org Git - sudo/commitdiff
Remove useless cast
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Dec 2010 21:16:08 +0000 (16:16 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 20 Dec 2010 21:16:08 +0000 (16:16 -0500)
compat/dlopen.c

index 0307e786e7b96840abc6babecf9bed36c75cc9b8..fa7fd71ff4ee0b451754407dfe1cfc5c44f0d931 100644 (file)
@@ -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;
 }