mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
Fix a bunch of const (-Wcast-qual checking start)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12640 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f06de29ac3
commit
574b7b1e3e
3 files changed
+10
-12
No files matched your search
+1
-1
@@ -786,7 +786,7 @@ SWITCH_DECLARE(switch_status_t) switch_pollset_create(switch_pollset_t **pollset
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_pollset_add(switch_pollset_t *pollset, const switch_pollfd_t *descriptor)
|
||||
{
|
||||
return apr_pollset_add((apr_pollset_t *)pollset, (apr_pollfd_t *)descriptor);
|
||||
return apr_pollset_add((apr_pollset_t *)pollset, (const apr_pollfd_t *)descriptor);
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_poll(switch_pollfd_t *aprset, int32_t numsock, int32_t *nsds, switch_interval_time_t timeout)
|
||||
|
||||
Reference in new issue
Block a user