commit fdef581cb074b4c81ed3d111cd9a884058f27039
parent d64d9b6f6e638cf532d7a6b281226ff1fa7de9d7
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 3 Apr 2020 17:36:46 +0200
Fix a compilation warning with some versions of netcdf
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/htmie.c b/src/htmie.c
@@ -104,10 +104,10 @@ cmp_dbl(const void* a, const void* b)
}
static INLINE const char*
-ncerr_to_str(const int ncerr)
+ncerr_to_str(const int ncerror)
{
const char* str = "NC_ERR_<UNKNOWN>";
- switch(ncerr) {
+ switch(ncerror) {
case NC_EBADGRPID: str = "NC_EBADGRPID"; break;
case NC_EBADID: str = "NC_EBADID"; break;
case NC_EBADNAME: str = "NC_EBADNAME"; break;