[hackers] [st] Use uint and uchar instead of unsigned int and unsigned char. || noname
commit ed855ea432156cea5ca3c6c942392f97d4c3ab1d
Author: noname <noname_AT_inventati.org>
Date: Tue Apr 22 21:59:32 2014 +0400
Use uint and uchar instead of unsigned int and unsigned char.
diff --git a/st.c b/st.c
index 64384cd..b8bf84b 100644
--- a/st.c
+++ b/st.c
_AT_@ -298,13 +298,13 @@ typedef struct {
typedef union {
int i;
- unsigned int ui;
+ uint ui;
float f;
const void *v;
} Arg;
typedef struct {
- unsigned int mod;
+ uint mod;
KeySym keysym;
void (*func)(const Arg *);
const Arg arg;
_AT_@ -3076,7 +3076,7 @@ xinit(void) {
xw.netwmpid = XInternAtom(xw.dpy, "_NET_WM_PID", False);
XChangeProperty(xw.dpy, xw.win, xw.netwmpid, XA_CARDINAL, 32,
- PropModeReplace, (unsigned char *)&thispid, 1);
+ PropModeReplace, (uchar *)&thispid, 1);
xresettitle();
XMapWindow(xw.dpy, xw.win);
Received on Wed Apr 23 2014 - 15:39:49 CEST
This archive was generated by hypermail 2.3.0
: Wed Apr 23 2014 - 15:48:10 CEST