Short Integer Constants in LCC-WIN32?



Is there a way to explicitly specify a short-integer constant in LCC-WIN32?
I'm revising old 16-bit code written for Windows 3.1, and I'm encountering a
lot of expressions like "filerec.timelow & 0x7C00u". "Filerec.timelow" was
originally declared as "int" but must now be changed to "short" because the
structure is read from a pre-existing binary file. Obviously, it would be
nice if the constant, "0x7C00u", were also a "short" (although it appears to
run correctly as is), but I don't see any suffix (like "us", for example) in
the documentation.


.



Relevant Pages

  • Re: Short Integer Constants in LCC-WIN32?
    ... I'm revising old 16-bit code written for Windows 3.1, and I'm encountering a ... structure is read from a pre-existing binary file. ...
    (comp.compilers.lcc)
  • Re: Idiot (I know thats redundant) spammer
    ... > navigate around a Windows box was to click everything in sight, ... At least at the GUI level, however, ... encountering a PC). ... It may be sort of like what hopping into a car would be like and finding ...
    (comp.os.vms)
  • Re: Random Restarts Out Of Nowhere
    ... I have been reading a lot of posts ref to random rebooting - something that ... I am encountering as well. ... View and Manage Event Logs in Event Viewer in Windows XP ... > Software Environment/Windows Error Reporting. ...
    (microsoft.public.windowsxp.general)
  • Re: insufficient memory
    ... If Windows NT then you might be ... If this is the issue you are encountering then this might be the download ... Microsoft Office MVP ... MVP FAQ site: http://mvps.org/ ...
    (microsoft.public.word.application.errors)
  • Re: Service Pack 3 and Compacting Message
    ... Various & sundry anti-virus applications ...Windows Desktop Search ... Millions of OE users have installed SP3 without encountering this behavior ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)