Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
68d9745
)
Use uint and uchar instead of unsigned int and unsigned char.
author
noname <
[email protected]
>
Tue, 22 Apr 2014 17:59:32 +0000
(21:59 +0400)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Wed, 23 Apr 2014 13:39:03 +0000
(15:39 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
64384cd
..
b8bf84b
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-298,13
+298,13
@@
typedef struct {
typedef union {
int i;
typedef union {
int i;
- u
nsigned
int ui;
+ uint ui;
float f;
const void *v;
} Arg;
typedef struct {
float f;
const void *v;
} Arg;
typedef struct {
- u
nsigned
int mod;
+ uint mod;
KeySym keysym;
void (*func)(const Arg *);
const Arg arg;
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,
xw.netwmpid = XInternAtom(xw.dpy, "_NET_WM_PID", False);
XChangeProperty(xw.dpy, xw.win, xw.netwmpid, XA_CARDINAL, 32,
- PropModeReplace, (u
nsigned
char *)&thispid, 1);
+ PropModeReplace, (uchar *)&thispid, 1);
xresettitle();
XMapWindow(xw.dpy, xw.win);
xresettitle();
XMapWindow(xw.dpy, xw.win);