Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-10-02 14:05:57 +0400
committerTon Roosendaal <ton@blender.org>2003-10-02 14:05:57 +0400
commitae17f63be8a94d118dd80e7cff1367f495011424 (patch)
treeb2814eb5145260408a4502462dcc370bf084ef05 /source/blender/imbuf
parentb843c8a0ea40b0089e522f11b40eee9cb0801232 (diff)
- changed a couple of shorts to ints, to allow images larger than
8192 pixels. I dont have a lot of mem here though, so others should test too!
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/amiga.c2
-rw-r--r--source/blender/imbuf/intern/filter.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/amiga.c b/source/blender/imbuf/intern/amiga.c
index fd753ec683d..613b6ab04f1 100644
--- a/source/blender/imbuf/intern/amiga.c
+++ b/source/blender/imbuf/intern/amiga.c
@@ -174,7 +174,7 @@ static uchar *decodebodykolum(uchar *body, short bytes, uchar **list, short d, i
static uchar *decodebodyv(struct ImBuf *ibuf, uchar *body)
{
uchar **list;
- short skipx,i,bytes,times;
+ int skipx, i, bytes, times;
list = (uchar **)imb_copyplanelist(ibuf);
if (list == 0) return (0);
diff --git a/source/blender/imbuf/intern/filter.c b/source/blender/imbuf/intern/filter.c
index aac5b2c625d..74f9ec4508d 100644
--- a/source/blender/imbuf/intern/filter.c
+++ b/source/blender/imbuf/intern/filter.c
@@ -97,7 +97,7 @@ static void filtcolum(unsigned char *point, int y, int skip)
void IMB_filtery(struct ImBuf *ibuf)
{
unsigned char *point;
- short x,y,skip;
+ int x, y, skip;
point = (unsigned char *)ibuf->rect;
x = ibuf->x;
@@ -120,7 +120,7 @@ void IMB_filtery(struct ImBuf *ibuf)
void imb_filterx(struct ImBuf *ibuf)
{
unsigned char *point;
- short x,y,skip;
+ int x, y, skip;
point = (unsigned char *)ibuf->rect;
x = ibuf->x;