home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!pagesat!netsys!news.cerf.net!network.ucsd.edu!ucsbcsl!foxtrot!doug
- From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
- Newsgroups: comp.windows.x
- Subject: Conflict with MINSHORT value in server/include/misc.h
- Message-ID: <7443@ucsbcsl.ucsb.edu>
- Date: 21 Jan 93 22:55:50 GMT
- Sender: root@ucsbcsl.ucsb.edu
- Organization: Center for Computer Music Research and Composition, UCSB
- Lines: 21
-
- This is in X11R5.
-
- In the file mit/server/include/misc.h, the macros MAXSHORT and MINSHORT are
- #defined to be 32767 and -32767, respectively.
-
- On my machine (NeXT), this macros are already defined. This itself is no
- problem, but on the NeXT, MINSHORT is #defined as ((short)0x8000), which
- equals -32768!
-
- My questions: Why is there this descrepancy? Is there not a standard for this
- value? Is one of these values specifically wrong? Should I just go with the
- value as #defined in the X server code?
-
- Thanks for any input.
-
-
- --
- Douglas Scott (805)893-8352
- Center for Computer Music Research and Composition
- University of California, Santa Barbara
- Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
-