Skip to content

Commit

Permalink
Added missing dereference operators.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdadams committed Jun 14, 2018
1 parent 771c6c0 commit 573a6e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libjasper/jpc/jpc_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 573a6e4

Please sign in to comment.