diff options
Diffstat (limited to 'src/HelpTopic.pas')
-rw-r--r-- | src/HelpTopic.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HelpTopic.pas b/src/HelpTopic.pas index 97ac68bd..e04d65b6 100644 --- a/src/HelpTopic.pas +++ b/src/HelpTopic.pas @@ -1324,7 +1324,7 @@ begin raise EHelpFileException.Create('Failed to read complete slot data (text)'); _Slots.Add( Slot ); - inc( pSlotNumber, sizeof( UInt16 ) ); + inc( pByte(pSlotNumber), sizeof( UInt16 ) ); end; except on E: EHelpFileException do |