aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoname <noname@inventati.org>2014-04-22 21:59:32 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-23 15:39:03 +0200
commited855ea432156cea5ca3c6c942392f97d4c3ab1d (patch)
tree14f34bb3b4d90169e25a845218ee9623cb9747cd
parent68d97457ecf044bda62a37dd6158bbba4e28d7fe (diff)
downloadst-ed855ea432156cea5ca3c6c942392f97d4c3ab1d.tar.gz
st-ed855ea432156cea5ca3c6c942392f97d4c3ab1d.tar.bz2
Use uint and uchar instead of unsigned int and unsigned char.
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index 64384cd..b8bf84b 100644
--- a/st.c
+++ b/st.c
@@ -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;
@@ -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);