Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117358
Collapse All | Expand All

(-)centericq-4.21.0/kkconsui-0.1/src/texteditor.cc (-1 / +1 lines)
Lines 1940-1946 Link Here
1940
}
1940
}
1941
1941
1942
int texteditor::findint(void *p1, void *p2) {
1942
int texteditor::findint(void *p1, void *p2) {
1943
    return *(int *) p1 != (int) p2;
1943
    return *(int *) p1 != (int)(long) p2;
1944
}
1944
}
1945
1945
1946
int texteditor::findhighline(void *p1, void *p2) {
1946
int texteditor::findhighline(void *p1, void *p2) {
(-)centericq-4.21.0/kkstrtext-0.1/kkstrtext.cc (-2 / +2 lines)
Lines 431-437 Link Here
431
}
431
}
432
432
433
int intcompare(void *s1, void *s2) {
433
int intcompare(void *s1, void *s2) {
434
    return (int) s1 != (int) s2;
434
    return (int)(long) s1 != (int)(long) s2;
435
}
435
}
436
436
437
string i2str(int i) {
437
string i2str(int i) {
Lines 885-891 Link Here
885
#ifdef HAVE_ICONV
885
#ifdef HAVE_ICONV
886
    iconv_t cd = iconv_open(tocs.c_str(), fromcs.c_str());
886
    iconv_t cd = iconv_open(tocs.c_str(), fromcs.c_str());
887
887
888
    if(((int) cd) != -1) {
888
    if(((int)(long) cd) != -1) {
889
	string r, text(atext);
889
	string r, text(atext);
890
	size_t inleft, outleft, soutleft;
890
	size_t inleft, outleft, soutleft;
891
	char *inbuf, *outbuf, *sinbuf, *soutbuf;
891
	char *inbuf, *outbuf, *sinbuf, *soutbuf;
(-)centericq-4.21.0/src/icqdialogs.cc (-5 / +5 lines)
Lines 894-900 Link Here
894
    i = m.open();
894
    i = m.open();
895
    m.close();
895
    m.close();
896
896
897
    if(i) f = (unsigned short) ((int) m.getref(i-1));
897
    if(i) f = (unsigned short) ((int)(long) m.getref(i-1));
898
}
898
}
899
899
900
void icqface::selectlanguage(unsigned short &f) {
900
void icqface::selectlanguage(unsigned short &f) {
Lines 946-952 Link Here
946
    int i = m.open();
946
    int i = m.open();
947
    m.close();
947
    m.close();
948
948
949
    if(i) f = (imgender) ((int) m.getref(i-1));
949
    if(i) f = (imgender) ((int)(long) m.getref(i-1));
950
}
950
}
951
951
952
void icqface::selectagerange(ICQ2000::AgeRange &r) {
952
void icqface::selectagerange(ICQ2000::AgeRange &r) {
Lines 967-973 Link Here
967
    int i = m.open();
967
    int i = m.open();
968
    m.close();
968
    m.close();
969
969
970
    if(i) r = (ICQ2000::AgeRange) ((int) m.getref(i-1));
970
    if(i) r = (ICQ2000::AgeRange) ((int)(long) m.getref(i-1));
971
}
971
}
972
972
973
bool icqface::edit(string &txt, const string &header) {
973
bool icqface::edit(string &txt, const string &header) {
Lines 1256-1262 Link Here
1256
1256
1257
	void *p;
1257
	void *p;
1258
	finished = !db.open(n, b, &p);
1258
	finished = !db.open(n, b, &p);
1259
	i = (int) p;
1259
	i = (int)(long) p;
1260
1260
1261
	if(!finished)
1261
	if(!finished)
1262
	switch(b) {
1262
	switch(b) {
Lines 1750-1756 Link Here
1750
	    it = transfers.end();
1750
	    it = transfers.end();
1751
1751
1752
	    if(!db.gettree()->isnode(db.gettree()->getid(np-1)))
1752
	    if(!db.gettree()->isnode(db.gettree()->getid(np-1)))
1753
		it = transfers.begin() + (int) db.getmenu()->getref(n-1);
1753
		it = transfers.begin() + (int)(long) db.getmenu()->getref(n-1);
1754
1754
1755
	    switch(b) {
1755
	    switch(b) {
1756
		case 0:
1756
		case 0:
(-)centericq-4.21.0/src/icqface.cc (-6 / +6 lines)
Lines 401-407 Link Here
401
401
402
    m.scale();
402
    m.scale();
403
    m.idle = &menuidle;
403
    m.idle = &menuidle;
404
    i = (int) m.getref(m.open()-1);
404
    i = (int)(long) m.getref(m.open()-1);
405
    m.close();
405
    m.close();
406
406
407
    if(i) lastr = i;
407
    if(i) lastr = i;
Lines 450-456 Link Here
450
450
451
    if(i) {
451
    if(i) {
452
	lastitem = i-1;
452
	lastitem = i-1;
453
	r = (int) m.getref(lastitem);
453
	r = (int)(long) m.getref(lastitem);
454
    }
454
    }
455
455
456
    return r;
456
    return r;
Lines 513-519 Link Here
513
	    g = 0;
513
	    g = 0;
514
	}
514
	}
515
	
515
	
516
	if((unsigned int) c < 100) c = 0;
516
	if((unsigned int)(long) c < 100) c = 0;
517
517
518
	if(i) {
518
	if(i) {
519
	    switch(action = extk) {
519
	    switch(action = extk) {
Lines 1484-1490 Link Here
1484
	m.scale();
1484
	m.scale();
1485
1485
1486
	i = m.open();
1486
	i = m.open();
1487
	choice = (int) m.getref(i-1);
1487
	choice = (int)(long) m.getref(i-1);
1488
1488
1489
	m.close();
1489
	m.close();
1490
    }
1490
    }
Lines 1539-1545 Link Here
1539
	m.close();
1539
	m.close();
1540
1540
1541
	if(r = i) {
1541
	if(r = i) {
1542
	    st = (imstatus) ((int) m.getref(i-1));
1542
	    st = (imstatus) ((int)(long) m.getref(i-1));
1543
	}
1543
	}
1544
    }
1544
    }
1545
1545
Lines 2132-2138 Link Here
2132
			    c = (icqcontact *) cm->getref(i);
2132
			    c = (icqcontact *) cm->getref(i);
2133
			}
2133
			}
2134
2134
2135
			if((unsigned int) c > 100) {
2135
			if((unsigned int)(long) c > 100) {
2136
			    string current = c->getdispnick();
2136
			    string current = c->getdispnick();
2137
			    len = current.size();
2137
			    len = current.size();
2138
			    if(len > nick.size()) len = nick.size();
2138
			    if(len > nick.size()) len = nick.size();

Return to bug 117358