]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/reveng/model.c
CHG: continue code cleanup.
[proxmark3-svn] / client / reveng / model.c
index eead6377055fe8092f07315afd80a3c35ae554ee..843a3c3dc1002ac4e0e0a59572aef49e4b6aa530 100644 (file)
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <inttypes.h>
 #include "reveng.h"
 
 /* Private declarations */
@@ -116,7 +117,7 @@ mtostr(const model_t *model) {
        if((string = malloc(size))) {
                sprintf(strbuf, "\"%s\"", model->name);
                sprintf(string,
-                               "width=%lu  "
+                               "width=%" PRIu32 ""
                                "poly=0x%s  "
                                "init=0x%s  "
                                "refin=%s  "
Impressum, Datenschutz