Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
bladeRF
gcc14-fix-calloc-arg-order.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc14-fix-calloc-arg-order.patch of Package bladeRF
Source: https://github.com/Nuand/bladeRF/commit/b55af91f6b0ccb9afd09dcd3a42b9110c7e5be6f --- bladeRF-2023.02-origin/host/utilities/bladeRF-fsk/c/src/fir_filter.c +++ bladeRF-2023.02/host/utilities/bladeRF-fsk/c/src/fir_filter.c @@ -213,18 +213,18 @@ return EXIT_FAILURE; } - inbuf = calloc(2*sizeof(int16_t), chunk_size); + inbuf = calloc(chunk_size, 2*sizeof(int16_t)); if (!inbuf) { perror("calloc"); goto out; } - tempbuf = calloc(2*sizeof(int16_t), chunk_size); + tempbuf = calloc(chunk_size, 2*sizeof(int16_t)); if (!tempbuf) { perror("calloc"); goto out; } - outbuf = calloc(sizeof(struct complex_sample), chunk_size); + outbuf = calloc(chunk_size, sizeof(struct complex_sample)); if (!outbuf) { perror("calloc"); goto out;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor