1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 22:28:02 +01:00

fixed compilation probs with SGI cc

This commit is contained in:
kojima
2001-01-06 01:52:27 +00:00
parent d9540f37bf
commit 3874f848c1
4 changed files with 9 additions and 9 deletions

View File

@@ -1,3 +1,7 @@
Changes since version 0.63.0:
.............................
- fixed compile prob with SGI compiler
Changes since version 0.62.1:
.............................
- added blackbox style igradient (interwoven)

View File

@@ -34,10 +34,10 @@ void *valueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row)
col2[i] = 0;
}
}
if (WMGetTableColumnId(column) == 1)
if ((int)WMGetTableColumnId(column) == 1)
return col1[row];
else
return col2[row];
return (void*)col2[row];
}
@@ -47,7 +47,7 @@ void setValueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row,
if (WMGetTableColumnId(column) == 1)
col1[row] = data;
else
col2[row] = data;
col2[row] = (int)data;
}

View File

@@ -1807,11 +1807,7 @@ W_ViewDelegate _TextViewDelegate =
};
/* nice, divisble-by-16 blocks */
static inline unsigned short
reqBlockSize(unsigned short requested)
{
return requested + 16 - (requested%16);
}
#define reqBlockSize(requested) (requested + 16 - (requested%16))
static void

View File

@@ -44,7 +44,7 @@ typedef struct _WPluginData {
void **array;
} WPluginData;
typedef void _DL_AnyProc(proplist_t);
typedef void (*_DL_AnyProc)(proplist_t);
/* first 3 must == WS_FOCUSED WS_UNFOCUSED WS_PFOCUSED -- ]d */
#ifdef DRAWSTRING_PLUGIN