diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-07 19:37:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-05-07 19:37:48 (GMT) |
commit | bbe03d73613afbcdeca14c045c8b90fac37e0fe8 (patch) | |
tree | 6c6468ecf923ad7f1101e0719d2af1894e63ad64 /src/H5.c | |
parent | c952661afbac41d4bf2622899bf2a4c2c02b07b5 (diff) | |
download | hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.zip hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.tar.gz hdf5-bbe03d73613afbcdeca14c045c8b90fac37e0fe8.tar.bz2 |
[svn-r10736] Purpose:
Code cleanup
Description:
Clean up some compiler warnings
Platforms tested:
FreeBSD 4.11 (sleipnir)
h5committest
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1564,7 +1564,7 @@ H5_trace (const double *returning, const char *func, const char *type, ...) if (argname) { unsigned n = (unsigned)MAX (0, (int)HDstrlen(argname)-3); /*lint !e666 Allow expression with side effects */ if (!HDstrcmp (argname+n, "_id")) { - HDstrncpy (buf, argname, MIN ((int)sizeof(buf)-1, n)); + HDstrncpy (buf, argname, (size_t)MIN ((int)sizeof(buf)-1, n)); buf[MIN((int)sizeof(buf)-1, n)] = '\0'; argname = buf; } |