Use nullptr

This commit is contained in:
Laurent Montel
2023-11-17 08:34:20 +01:00
parent bfd1d431c1
commit 822a4dc500

View File

@@ -177,7 +177,7 @@ uint8_t *decode(const char *blurhash, int width, int height, int punch, int nCha
uint8_t *pixelArray = createByteArray(bytesPerRow * height);
if (decodeToArray(blurhash, width, height, punch, nChannels, pixelArray) == -1) {
return NULL;
return nullptr;
}
return pixelArray;
}