Permalink
Browse files

Added missing dereference operators.

  • Loading branch information...
mdadams committed Jun 14, 2018
1 parent 771c6c0 commit 573a6e47d45c9166331c115e78be962061c00bca
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/libjasper/jpc/jpc_util.c
@@ -102,7 +102,7 @@ int jpc_atoaf(const char *s, int *numvalues, double **values)
if ((cp = strtok(buf, delim))) {
++n;
while ((cp = strtok(0, delim))) {
if (cp != '\0') {
if (*cp != '\0') {
++n;
}
}
@@ -120,7 +120,7 @@ int jpc_atoaf(const char *s, int *numvalues, double **values)
vs[n] = atof(cp);
++n;
while ((cp = strtok(0, delim))) {
if (cp != '\0') {
if (*cp != '\0') {
vs[n] = atof(cp);
++n;
}

0 comments on commit 573a6e4

Please sign in to comment.