mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:57:43 +00:00
Style: Remove uses of NULL, substituting nullptr
This commit is contained in:
parent
93f4388e45
commit
5d5c32cec1
7 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue