summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index b1c591c..ed96763 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -144,7 +144,7 @@ typedef struct H5F_t H5F_t;
* Note: the NBYTEDECODE macro is backwards from the memcpy() routine, in
* the spirit of the other DECODE macros.
*/
-#define NBYTEDECODE(s, d, n) do { HDmemcpy(d,s,n); d += n; } while (0)
+#define NBYTEDECODE(s, d, n) do { HDmemcpy(d,s,n); s += n; } while (0)
/* Address-related macros */
#define H5F_addr_overflow(X,Z) (HADDR_UNDEF==(X) || \