]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/env/fw_env.c
fw_env: fix type of len
[karo-tx-uboot.git] / tools / env / fw_env.c
index 90c7a5d3f39fa37f76005f354976e8f9c8c1270e..37b60b80a7624566d9ecefdd04c0658134bd654d 100644 (file)
@@ -429,7 +429,8 @@ int fw_env_write(char *name, char *value)
  */
 int fw_setenv(int argc, char *argv[])
 {
-       int i, len;
+       int i;
+       size_t len;
        char *name;
        char *value = NULL;