[7082] in Athena Bugs
vax 7.2R: XParseGeometry man page
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sun Feb 10 14:25:54 1991
From: ckclark@ATHENA.MIT.EDU
Date: Sun, 10 Feb 91 14:25:47 -0500
To: bugs@ATHENA.MIT.EDU
System name: test-vs2
Type and version: MVAX-II 7.2R
Display type: QVSS
What were you trying to do?
Use XParseGeometry with the types of arguments given in the
man page.
What's wrong:
The man page says that width and height are ints, but the
declaration in Xlib has them as unsigned int. This causes
a warning in gcc:
From man page:
int XParseGeometry(parsestring, x_return, y_return,
width_return, height_return)
char *parsestring;
int *x_return, *y_return;
int *width_return, *height_return;
From /usr/include/X11/Xlib.h:
extern int XParseGeometry(
#if NeedFunctionPrototypes
const char* /* parsestring */,
int* /* x_return */,
int* /* y_return */,
unsigned int* /* width_return */,
unsigned int* /* height_return */
#endif
);
What should have happened:
Should be consistent.
Please describe any relevant documentation references:
/usr/man/man3/XParseGeometry.3X11