summaryrefslogtreecommitdiff
path: root/namedev_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'namedev_parse.c')
-rw-r--r--namedev_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index 942596121e..b19a5f26f5 100644
--- a/namedev_parse.c
+++ b/namedev_parse.c
@@ -338,7 +338,7 @@ static int namedev_parse(struct udevice *udev, const char *filename)
continue;
error:
info("parse error %s, line %d:%d, rule skipped",
- filename, lineno, temp - line);
+ filename, lineno, (int) (temp - line));
}
}