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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-03-29 19:31:35 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-29 19:31:35 +0400
commit3ee7a1fa6fca99d48985c9d1056d2ae300598386 (patch)
tree70e9f45a1222a6b0d6da113517d6535296644051 /source/blender/makesdna/intern/makesdna.c
parent607083cc9a8c274f0bd9b9b4b0b9dc3ca57c2baa (diff)
- print # bytes to add on sizeerror
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r--source/blender/makesdna/intern/makesdna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index 52e3f92a40f..14ccba59e98 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -745,13 +745,13 @@ int calculate_structlens(void)
// has_pointer is set or alphalen != len
if (has_pointer || alphalen != len) {
if (alphalen % 8) {
- printf("Sizeerror in struct: %s\n", types[structtype]);
+ printf("Sizeerror in struct: %s (add %d bytes)\n", types[structtype], alphalen%8);
dna_error = 1;
}
}
if(len % 4) {
- printf("Sizeerror in struct: %s\n", types[structtype]);
+ printf("Sizeerror in struct: %s (add %d bytes)\n", types[structtype], len%4);
dna_error = 1;
}