Commit e519d5ef418ea5f18ccacfee31decdedd6331609

Francois Perrad 2018-12-27T08:56:32

fix format

diff --git a/etc/pprime.c b/etc/pprime.c
index 213f3c5..65a6792 100644
--- a/etc/pprime.c
+++ b/etc/pprime.c
@@ -144,7 +144,7 @@ static void gen_prime(void)
          } while (x == 0uL);
          if (r > 31uL) {
             fwrite(&r, 1uL, sizeof(mp_digit), out);
-            printf("%9u\r", r);
+            printf("%9lu\r", r);
             fflush(stdout);
          }
          if (r < 31uL) break;
@@ -336,7 +336,7 @@ top:
          mp_toradix(&a, buf, 10);
          printf("A == \n%s\n\n", buf);
          mp_toradix(&b, buf, 10);
-         printf("B == \n%s\n\nG == %d\n", buf, bases[ii]);
+         printf("B == \n%s\n\nG == %lu\n", buf, bases[ii]);
          printf("----------------------------------------------------------------\n");
       }