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