mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 13:07:46 +00:00
[porthole] fix invalid pointer dereference
This commit is contained in:
parent
7aee4eed11
commit
ce5c36705e
@ -28,4 +28,4 @@ typedef struct
|
||||
}
|
||||
PortholeSegment;
|
||||
|
||||
#define PH_SEGMENTS(map) ((PortholeSegment *)((&map)+1))
|
||||
#define PH_SEGMENTS(map) ((PortholeSegment *)((map)+1))
|
Loading…
Reference in New Issue
Block a user