about summary refs log tree commit diff
path: root/editor/pnmremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pnmremap.c')
-rw-r--r--editor/pnmremap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/editor/pnmremap.c b/editor/pnmremap.c
index 59b1e84b..0038f4d7 100644
--- a/editor/pnmremap.c
+++ b/editor/pnmremap.c
@@ -501,9 +501,10 @@ fserr_init(struct pam *   const pamP,
 
 
 static void
-floydInitRow(struct pam * const pamP, struct Fserr * const fserrP) {
+floydInitRow(struct pam *   const pamP,
+             struct Fserr * const fserrP) {
 
-    int col;
+    unsigned int col;
 
     for (col = 0; col < pamP->width + 2; ++col) {
         unsigned int plane;
@@ -571,7 +572,8 @@ floydPropagateErr(struct pam *   const pamP,
 
 
 static void
-floydSwitchDir(struct pam * const pamP, struct Fserr * const fserrP) {
+floydSwitchDir(struct pam *   const pamP,
+               struct Fserr * const fserrP) {
 
     unsigned int plane;