[Refdb-cvs] CVS: refdb/src refdbd.h.in,1.7.2.12,1.7.2.13 refdbdbib.c,1.36.2.30,1.36.2.31
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-12-27 16:01:06
|
Update of /cvsroot/refdb/refdb/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14677 Modified Files: Tag: Release_0_9_5_stable refdbd.h.in refdbdbib.c Log Message: remove_style(): changed argument to unsigned int to fix size mismatch Index: refdbd.h.in =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbd.h.in,v retrieving revision 1.7.2.12 retrieving revision 1.7.2.13 diff -u -U2 -r1.7.2.12 -r1.7.2.13 --- refdbd.h.in 11 Oct 2005 20:32:55 -0000 1.7.2.12 +++ refdbd.h.in 27 Dec 2005 16:00:58 -0000 1.7.2.13 @@ -125,5 +125,5 @@ int addstyle(struct CLIENT_REQUEST* ptr_clrequest, struct ADDRESULT* ptr_addresult); int deletestyle(struct CLIENT_REQUEST* ptr_clrequest, struct ADDRESULT* ptr_addresult); -int remove_style(dbi_conn conn, unsigned long long id); +int remove_style(dbi_conn conn, unsigned int id); int read_xml(int fd, XML_Parser p, struct ADDRESULT* ptr_addresult); void log_print(int priority, const char* string); Index: refdbdbib.c =================================================================== RCS file: /cvsroot/refdb/refdb/src/refdbdbib.c,v retrieving revision 1.36.2.30 retrieving revision 1.36.2.31 diff -u -U2 -r1.36.2.30 -r1.36.2.31 --- refdbdbib.c 22 Dec 2005 20:12:50 -0000 1.36.2.30 +++ refdbdbib.c 27 Dec 2005 16:00:58 -0000 1.36.2.31 @@ -2329,8 +2329,8 @@ information - unsigned long long n_id the ID in CITSTYLE which is to be removed + unsigned int n_id the ID in CITSTYLE which is to be removed ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -int remove_style(dbi_conn conn, unsigned long long n_id) { +int remove_style(dbi_conn conn, unsigned int n_id) { char sql_command[256]; int error; |