mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 03:41:53 +00:00
164fa133dc39e79a8f97d5a4e985285da0d13bad
Clang's static analyzer noticed the result of realloc was being assigned to a pointer of a different type than was used to calculate the new size. We can make things simpler and more idiomatic here by using the correct pointer type and letting C's pointer arithmetic automatically handle some multiplication. We also use the distributive property here to simplify the calculation for memset.
…
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
Multiple Licenses
219 MiB
Languages
C
64.6%
C++
21.1%
JavaScript
4.8%
Assembly
2%
Makefile
1.1%
Other
5.6%