diff options
author | Soumith Chintala <soumith@gmail.com> | 2017-06-11 11:42:34 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2017-06-11 11:42:34 +0300 |
commit | a3b3526922b64bf994681cf17c9cb0ea693cecc6 (patch) | |
tree | e316327b9132ab309fb0bab5d013af9a51e92195 | |
parent | 17bd4b836f07eb93ec174f568eada77c3bdd0a41 (diff) |
fix type
-rw-r--r-- | lib/TH/THStorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TH/THStorage.c b/lib/TH/THStorage.c index 8caf8b7..f850600 100644 --- a/lib/TH/THStorage.c +++ b/lib/TH/THStorage.c @@ -157,7 +157,7 @@ int THLongStorage_inferExpandGeometry(long *tensorSizes, long *tensorStrides, lo } else { THFree(expandedSizesCalc); THFree(expandedStridesCalc); - snprintf(error_buffer, buffer_len, "The expanded size of the tensor (%d) must match the existing size (%d) at " + snprintf(error_buffer, buffer_len, "The expanded size of the tensor (%ld) must match the existing size (%ld) at " "non-singleton dimension %ld.", targetSize, size, i); return -1; } |