TokTok / c-toxcore

The future of online communications.
https://tox.chat
GNU General Public License v3.0
2.21k stars 280 forks source link

cleanup: Never pass `void*` directly to `memcpy`. #2682

Closed iphydf closed 4 months ago

iphydf commented 4 months ago

It cannot be type-checked easily, so we avoid void pointers entirely.


This change is Reviewable

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5d7b7a7) 73.02% compared to head (9b46a08) 73.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2682 +/- ## ========================================== - Coverage 73.02% 73.02% -0.01% ========================================== Files 148 148 Lines 30484 30486 +2 ========================================== - Hits 22262 22261 -1 - Misses 8222 8225 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.