Various small fixes including:
[rmac] / mark.c
diff --git a/mark.c b/mark.c
index 7378c8a6916aee2d8804c39901c042e39908e93b..2a089c386a663830a3f6e0bff7538582ab64288a 100644 (file)
--- a/mark.c
+++ b/mark.c
@@ -221,7 +221,7 @@ uint32_t MarkImage(register uint8_t * mp, uint32_t siz, uint32_t tsize, int okfl
 
                                        w |= symbol->senv << 3;
                                        *wp++ = w >> 8;
-                                       *wp = w;
+                                       *wp = (uint8_t)w;
                                }
                        }
                        else