mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:27:34 +00:00
AK: Replace C-style casts
This commit is contained in:
parent
7d6908d9a5
commit
067d0689c5
14 changed files with 49 additions and 49 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
if (!data)
|
||||
return Error::from_errno(ENOMEM);
|
||||
|
||||
auto bitmap = Bitmap { (u8*)data, size, true };
|
||||
auto bitmap = Bitmap { static_cast<u8*>(data), size, true };
|
||||
bitmap.fill(default_value);
|
||||
return bitmap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue