diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-08 10:36:51 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-08 13:06:51 +0100 |
commit | b1058b33fb32cb398d1723eb6fe59c27dc7967cc (patch) | |
tree | 49f0e5af7b7e37afd80a6dedf655917bf51ed915 /DevTools/Inspector/RemoteObject.h | |
parent | b98d8ad5b01c41efff24faffe94918435194257a (diff) | |
download | serenity-b1058b33fb32cb398d1723eb6fe59c27dc7967cc.zip |
AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*)
Use this instead of uintptr_t throughout the codebase. This makes it
possible to pass a FlatPtr to something that has u32 and u64 overloads.
Diffstat (limited to 'DevTools/Inspector/RemoteObject.h')
-rw-r--r-- | DevTools/Inspector/RemoteObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/Inspector/RemoteObject.h b/DevTools/Inspector/RemoteObject.h index b8d5d680ca..89c0e93f21 100644 --- a/DevTools/Inspector/RemoteObject.h +++ b/DevTools/Inspector/RemoteObject.h @@ -42,8 +42,8 @@ public: RemoteObject* parent { nullptr }; NonnullOwnPtrVector<RemoteObject> children; - uintptr_t address { 0 }; - uintptr_t parent_address { 0 }; + FlatPtr address { 0 }; + FlatPtr parent_address { 0 }; String class_name; String name; |