Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch7.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2017-06-11 11:42:34 +0300
committerSoumith Chintala <soumith@gmail.com>2017-06-11 11:42:34 +0300
commita3b3526922b64bf994681cf17c9cb0ea693cecc6 (patch)
treee316327b9132ab309fb0bab5d013af9a51e92195
parent17bd4b836f07eb93ec174f568eada77c3bdd0a41 (diff)
fix type
-rw-r--r--lib/TH/THStorage.c2
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;
}