]> git.imager.perl.org - imager.git/blobdiff - tags.c
initial targets for 0.50
[imager.git] / tags.c
diff --git a/tags.c b/tags.c
index 951d1fe9d42d70c103a55273c8e8046948a24a4b..1892933f464772deca46546811c3a135148d7dae 100644 (file)
--- a/tags.c
+++ b/tags.c
@@ -444,7 +444,7 @@ static int parse_long(char *data, char **end, long *out) {
 
   errno = 0;
   result = strtol(data, &myend, 10);
-  if ((result == LONG_MIN || result == LONG_MAX) && errno == ERANGE
+  if (((result == LONG_MIN || result == LONG_MAX) && errno == ERANGE)
       || myend == data) {
     errno = savederr;
     return 0;