1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:37:37 +00:00

Style: Remove uses of NULL, substituting nullptr

This commit is contained in:
Matthew L. Curry 2020-10-13 00:00:06 -06:00 committed by Andreas Kling
parent 93f4388e45
commit 5d5c32cec1
7 changed files with 8 additions and 8 deletions

View file

@ -745,7 +745,7 @@ static bool decode_png_bitmap(PNGLoadingContext& context)
unsigned long srclen = context.compressed_data.size() - 6;
unsigned long destlen = 0;
int ret = puff(NULL, &destlen, context.compressed_data.data() + 2, &srclen);
int ret = puff(nullptr, &destlen, context.compressed_data.data() + 2, &srclen);
if (ret != 0) {
context.state = PNGLoadingContext::State::Error;
return false;