diff options
Diffstat (limited to 'src/Object.c')
-rw-r--r-- | src/Object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Object.c b/src/Object.c index 843ff7d..178bcb5 100644 --- a/src/Object.c +++ b/src/Object.c @@ -180,7 +180,7 @@ ConstructCallbackOffsets(WidgetClass myWidgetClass) __XtMalloc((Cardinal) (sizeof(XrmResource *) * (size_t) (tableSize + 1))); - newTable[0] = (XrmResource *) (long) tableSize; + newTable[0] = (XrmResource *) (XtIntPtr) tableSize; if (superTable) tableSize -= (int) (long) superTable[0]; |