In our previous episode, Nikolay Nikolov said:
> >
> > function get_segment_base_address(d : word) : longint;
> > function set_segment_base_address(d : word;s : dword) : boolean;
> >
> > For get_segment_base_address is correct longint or dword?
> I think (and I'm the one, who made the change) dword is more correct, 
> because segment bases can be >=2GB and longint is signed, so results in 

(I think he also meant having a signed getter and unsigned setter)
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to