From c82d6a58d0cdd567916c732c45ae496ba03ec8be Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 4 Jun 2018 15:29:38 +0000 Subject: merge pm_interpret_uint, pm_string_to_uint git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3262 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libpm.c') diff --git a/lib/libpm.c b/lib/libpm.c index 783e9ed1..b335debb 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -848,7 +848,7 @@ pm_parse_width(const char * const arg) { unsigned int width; const char * error; - pm_interpret_uint(arg, &width, &error); + pm_string_to_uint(arg, &width, &error); if (error) { pm_error("'%s' is invalid as an image width. %s", arg, error); @@ -873,7 +873,7 @@ pm_parse_height(const char * const arg) { unsigned int height; const char * error; - pm_interpret_uint(arg, &height, &error); + pm_string_to_uint(arg, &height, &error); if (error) { pm_error("'%s' is invalid as an image height. %s", arg, error); -- cgit 1.4.1