updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / tmview / 202_invalid_casts.diff
blob08ea4f9192706a28aa1aaaf2dc322151adbfcd3c
1 --- tmview-01.03.orig/lX/writelx.c
2 +++ tmview-01.03/lX/writelx.c
3 @@ -908,7 +908,7 @@
5 srow+=sbmu_wide;
6 sbmu=srow;
7 - ((char*)ydest)+=ibytes_per_line;
8 + ydest=((char*)ydest)+ibytes_per_line;
10 if(directscreen) {
11 XPutImage(dpy,dviwin,imagecopygc,offimage,tx,ty,tx,ty,w,h);
12 @@ -996,7 +996,7 @@
14 srow+=sbmu_wide;
15 sbmu=srow;
16 - ((char*)ydest)+=ibytes_per_line;
17 + ydest=((char*)ydest)+ibytes_per_line;
19 if(directscreen) {
20 XPutImage(dpy,dviwin,imagecopygc,offimage,tx,ty,tx,ty,w,h);
21 @@ -1034,7 +1034,7 @@
22 ISET_PIXEL(xdest,cpix);
23 xdest++;
25 - ((char*)ydest)+=ibytes_per_line;
26 + ydest=((char*)ydest)+ibytes_per_line;
28 if(directscreen) {
29 XSetForeground(dpy,winfillgc,cpix);
30 @@ -1084,7 +1084,7 @@
31 #endif
32 xdest++;
34 - ((char*)ydest)+=ibytes_per_line;
35 + ydest=((char*)ydest)+ibytes_per_line;
37 if(directscreen) {
38 XPutImage(dpy,dviwin,imagecopygc,offimage,tx,ty,tx,ty,w,h);
39 @@ -1126,7 +1126,7 @@
41 xdest++;
43 - ((char*)ydest)+=ibytes_per_line;
44 + ydest=((char*)ydest)+ibytes_per_line;
46 if(directscreen) {
47 XPutImage(dpy,dviwin,imagecopygc,offimage,tx,ty,tx,ty,w,h);