synaser.pas - fix rangecheck error

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@273 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2023-11-07 08:01:07 +00:00
parent f570cc3d03
commit 5e5b55ea12

View File

@ -1,5 +1,5 @@
{==============================================================================| {==============================================================================|
| Project : Ararat Synapse | 007.007.001 | | Project : Ararat Synapse | 007.007.002 |
|==============================================================================| |==============================================================================|
| Content: Serial port support | | Content: Serial port support |
|==============================================================================| |==============================================================================|
@ -2427,7 +2427,7 @@ end;
{$IFNDEF MSWINDOWS} {$IFNDEF MSWINDOWS}
function GetSerialPortNames: string; function GetSerialPortNames: string;
const const
ATTR = {$IFDEF POSIX}$7FFFFFFF{$ELSE}$FFFFFFFF{$ENDIF}; ATTR = {$IFDEF POSIX}$7FFFFFFF{$ELSE}longint($FFFFFFFF){$ENDIF};
var var
sr : TSearchRec; sr : TSearchRec;
begin begin