about summary refs log tree commit diff
path: root/editor/specialty/ppmshift.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/specialty/ppmshift.c')
-rw-r--r--editor/specialty/ppmshift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/specialty/ppmshift.c b/editor/specialty/ppmshift.c
index 85b33f3a..27cbb78c3 100644
--- a/editor/specialty/ppmshift.c
+++ b/editor/specialty/ppmshift.c
@@ -93,7 +93,7 @@ shiftRow(pixel *            const srcrow,
 
     pixel * pP;
     pixel * pP2;
-    unsigned int nowshift;
+    int nowshift;
 
     if (shift != 0)
         nowshift = (pm_rand(randStP) % (shift+1)) - ((shift+1) / 2);