Actions
Feature #2474
closedSDL3_rotozoom.c : NULL -> nullptr
Start date:
11/10/2026
Due date:
% Done:
0%
Estimated time:
Description
Replace NULLs in SDL3_rotozoom.c with nullptrs.
Files
Actions
Added by Marko Lindqvist 21 days ago. Updated 1 day ago.
0%
Description
Replace NULLs in SDL3_rotozoom.c with nullptrs.
Files
| 0078-SDL3_rotozoom.c-Replace-NULL-with-nullptr.patch (7.67 KB) 0078-SDL3_rotozoom.c-Replace-NULL-with-nullptr.patch | Marko Lindqvist, 11/10/2026 04:41 AM | ||
| 0052-SDL3_rotozoom.c-Replace-NULL-with-nullptr.patch (7.89 KB) 0052-SDL3_rotozoom.c-Replace-NULL-with-nullptr.patch | Marko Lindqvist, 11/16/2026 02:27 PM |
clang:
../../src/client/gui-sdl3/SDL3_gfx/SDL3_rotozoom.c:202:63: error: use of undeclared identifier 'nullptr'
202 | if ((sax = (int *) malloc((dst->w + 1) * sizeof(Uint32))) == nullptr) {
| ^~~~~~~
../../src/client/gui-sdl3/SDL3_gfx/SDL3_rotozoom.c:205:63: error: use of undeclared identifier 'nullptr'
205 | if ((say = (int *) malloc((dst->h + 1) * sizeof(Uint32))) == nullptr) {
| ^~~~~~~
../../src/client/gui-sdl3/SDL3_gfx/SDL3_rotozoom.c:554:13: error: use of undeclared identifier 'nullptr'
554 | return nullptr;
...