readd missing SHORT macro for patch_create
This commit is contained in:
1 parent
167e8e9258
commit
3fe77da35f
1 file changed
+1
-1
+1
-1
@@ -336,7 +336,7 @@ patch_t *Patch_Create(softwarepatch_t *source, size_t srcsize, void *dest)
|
||||
if (source)
|
||||
{
|
||||
INT32 col, colsize;
|
||||
size_t size = sizeof(INT32) * source->width;
|
||||
size_t size = sizeof(INT32) * SHORT(source->width);
|
||||
size_t offs = (sizeof(INT16) * 4) + size;
|
||||
|
||||
patch->width = SHORT(source->width);
|
||||
|
||||
Reference in new issue
Block a user