<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GooString wastes 4 bytes on 64-bit systems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97506#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GooString wastes 4 bytes on 64-bit systems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97506">bug 97506</a>
from <span class="vcard"><a class="email" href="mailto:aacid@kde.org" title="Albert Astals Cid <aacid@kde.org>"> <span class="fn">Albert Astals Cid</span></a>
</span></b>
<pre>elf-dissector disagrees with your patch
class GooString // location: /home/tsdgeos/devel/poppler/goo/GooString.h:49
{
char[36] sStatic; // member offset: 0, size: 36, alignment: 1
int length; // member offset: 36, size: 4, alignment: 4
char* s; // member offset: 40, size: 8, alignment: 8
}; // size: 48, alignment: 8
Used bytes: 48/48 (100%)
Used bits: 384/384 (100%)
This is with your patch, GooString is now 48 bytes instead of 32.
but agrees with your bug (without the patch it says)
class GooString // location: /home/tsdgeos/devel/poppler/goo/GooString.h:49
{
char[16] sStatic; // member offset: 0, size: 16, alignment: 1
int length; // member offset: 16, size: 4, alignment: 4
// 4 byte(s) padding
char* s; // member offset: 24, size: 8, alignment: 8
}; // size: 32, alignment: 8
Used bytes: 28/32 (87.5%)
Used bits: 224/256 (87.5%)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>