Tooltalk fixes for OpenBSD. This consists mainly of #ifdefs, casts and some small...
[oweals/cde.git] / cde / lib / tt / lib / tttk / ttdtfile.C
index ea1b5fb33a3668b57f9e16aaf68fa690572c25e4..4d5f29914cfc4809c2e848422ea5ba186c8859c4 100644 (file)
@@ -115,7 +115,7 @@ _ttDtFileJoinPat(
        Tt_pattern pat = _ttDtPatternCreate( TT_OBSERVE, theScope,
                                             theScope != TT_FILE, pathname,
                                             TTDT_DELETED, _ttDtFileCB,
-                                            cb, clientData, 0 );
+                                            (void *)cb, clientData, 0 );
        Tt_status status = tt_ptr_error( pat );
        if (status != TT_OK) {
                return pat;
@@ -254,7 +254,7 @@ ttdt_file_request(
 )
 {
        Tt_message msg = _ttDtPMessageCreate( context, TT_REQUEST, theScope, 0,
-                                             op, _ttDtFileCB, cb, clientData);
+                                             op, _ttDtFileCB, (void *)cb, clientData);
        Tt_status status = tt_ptr_error( msg );
        if (status != TT_OK) {
                return msg;
@@ -298,7 +298,7 @@ _ttDtFileEventPat(
        Tt_pattern pat = _ttDtPatternCreate( TT_HANDLE, theScope,
                                             theScope != TT_FILE, pathname,
                                             TTDT_SAVE, _ttDtFileCB,
-                                            cb, clientData, 0 );
+                                            (void *)cb, clientData, 0 );
        Tt_status status = tt_ptr_error( pat );
        if (status != TT_OK) {
                return pat;