Skip to content

Commit

Permalink
Merge branch 'utf8.dmh' of https://github.com/DennisHeimbigner/netcdf-c
Browse files Browse the repository at this point in the history
… into gh1668.wif
  • Loading branch information
WardF committed Mar 11, 2020
2 parents 060921e + 1bce6b9 commit d84dc3a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libdispatch/dfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -1851,8 +1851,8 @@ NC_create(const char *path0, int cmode, size_t initialsz,

{
/* Skip past any leading whitespace in path */
const char* p;
for(p=(char*)path0;*p;p++) {if(*p > ' ') break;}
const unsigned char* p;
for(p=(const unsigned char*)path0;*p;p++) {if(*p > ' ') break;}
#ifdef WINPATH
/* Need to do path conversion */
path = NCpathcvt(p);
Expand Down Expand Up @@ -1999,8 +1999,8 @@ NC_open(const char *path0, int omode, int basepe, size_t *chunksizehintp,

{
/* Skip past any leading whitespace in path */
const char* p;
for(p=(char*)path0;*p;p++) {if(*p > ' ') break;}
const unsigned char* p;
for(p=(const unsigned char*)path0;*p;p++) {if(*p > ' ') break;}
#ifdef WINPATH
/* Need to do path conversion */
path = NCpathcvt(p);
Expand Down

0 comments on commit d84dc3a

Please sign in to comment.