Fix XtVaGetValues() output for 64-bit
Fix filename comparison in Dts.c
---
cde/examples/tt/broadcast.c | 2 +-
cde/lib/DtSvc/DtUtil1/Dts.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cde/examples/tt/broadcast.c b/cde/examples/tt/broadcast.c
index 039a83c..d9fc195 100644
--- a/cde/examples/tt/broadcast.c
+++ b/cde/examples/tt/broadcast.c
@@ -130,7 +130,7 @@ broadcast_value(widget, client_data, call_data)
Widget widget;
XtPointer client_data, call_data;
{
- int slider_value;
+ XtArgVal slider_value;
Tt_message msg_out;
/*
diff --git a/cde/lib/DtSvc/DtUtil1/Dts.c b/cde/lib/DtSvc/DtUtil1/Dts.c
index eb9881b..c106791 100644
--- a/cde/lib/DtSvc/DtUtil1/Dts.c
+++ b/cde/lib/DtSvc/DtUtil1/Dts.c
@@ -1180,7 +1180,7 @@ type_name(const char *name, char *attr)
{
int match = 0;
- if(name && (int)name != -1)
+ if(name && name != (char *)-1)
{
#ifdef USE_FNMATCH
match = !fnmatch(attr, name, 0);
--
1.7.9.2
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel