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:
@@ -1,3 +1,7 @@
|
|||||||
|
Changes since version 0.63.0:
|
||||||
|
.............................
|
||||||
|
- fixed compile prob with SGI compiler
|
||||||
|
|
||||||
Changes since version 0.62.1:
|
Changes since version 0.62.1:
|
||||||
.............................
|
.............................
|
||||||
- added blackbox style igradient (interwoven)
|
- added blackbox style igradient (interwoven)
|
||||||
|
|||||||
@@ -34,10 +34,10 @@ void *valueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row)
|
|||||||
col2[i] = 0;
|
col2[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (WMGetTableColumnId(column) == 1)
|
if ((int)WMGetTableColumnId(column) == 1)
|
||||||
return col1[row];
|
return col1[row];
|
||||||
else
|
else
|
||||||
return col2[row];
|
return (void*)col2[row];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ void setValueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row,
|
|||||||
if (WMGetTableColumnId(column) == 1)
|
if (WMGetTableColumnId(column) == 1)
|
||||||
col1[row] = data;
|
col1[row] = data;
|
||||||
else
|
else
|
||||||
col2[row] = data;
|
col2[row] = (int)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1807,11 +1807,7 @@ W_ViewDelegate _TextViewDelegate =
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* nice, divisble-by-16 blocks */
|
/* nice, divisble-by-16 blocks */
|
||||||
static inline unsigned short
|
#define reqBlockSize(requested) (requested + 16 - (requested%16))
|
||||||
reqBlockSize(unsigned short requested)
|
|
||||||
{
|
|
||||||
return requested + 16 - (requested%16);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ typedef struct _WPluginData {
|
|||||||
void **array;
|
void **array;
|
||||||
} WPluginData;
|
} WPluginData;
|
||||||
|
|
||||||
typedef void _DL_AnyProc(proplist_t);
|
typedef void (*_DL_AnyProc)(proplist_t);
|
||||||
|
|
||||||
/* first 3 must == WS_FOCUSED WS_UNFOCUSED WS_PFOCUSED -- ]d */
|
/* first 3 must == WS_FOCUSED WS_UNFOCUSED WS_PFOCUSED -- ]d */
|
||||||
#ifdef DRAWSTRING_PLUGIN
|
#ifdef DRAWSTRING_PLUGIN
|
||||||
|
|||||||
Reference in New Issue
Block a user