mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtpdm: Resolve 4 compiler warnings
This commit is contained in:
parent
53e7adfc5f
commit
971e3280d7
2 changed files with 4 additions and 3 deletions
|
@ -33,6 +33,7 @@
|
|||
* (c) Copyright 1996 FUJITSU LIMITED.
|
||||
* (c) Copyright 1996 Hitachi.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include <Xm/XmAll.h>
|
||||
#include <Xm/ColorObjP.h> /* for Xme Color Obj access API */
|
||||
#include <Dt/dtpdmd.h>
|
||||
|
|
|
@ -319,7 +319,7 @@ static void TrayCtlSelectCB(Widget w, XtPointer client_d, XtPointer call_d);
|
|||
*/
|
||||
static SizeCtl* SizeCtlNew();
|
||||
static void SizeCtlDelete(SizeCtl* me);
|
||||
static int SizeCtlStrColl(void* e1, void* e2);
|
||||
static int SizeCtlStrColl(const void* e1, const void* e2);
|
||||
static void SizeCtlSetSizeLists(PdmOidList** oids,
|
||||
XmStringTable* xmstrs,
|
||||
PdmOidLinkedList* oids_ll);
|
||||
|
@ -2289,9 +2289,9 @@ SizeCtlDelete(SizeCtl* me)
|
|||
*
|
||||
*/
|
||||
static int
|
||||
SizeCtlStrColl(void* e1, void* e2)
|
||||
SizeCtlStrColl(const void* e1, const void* e2)
|
||||
{
|
||||
SizeCtlSortRec *r1 = e1, *r2 = e2;
|
||||
const SizeCtlSortRec *r1 = e1, *r2 = e2;
|
||||
|
||||
return strcoll(r1->str, r2->str);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue