OSDN Git Service

maint: correct coverity-reported "suspicious sizeof"
authorJim Meyering <meyering@redhat.com>
Tue, 24 May 2011 14:57:57 +0000 (16:57 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 27 May 2011 05:52:18 +0000 (07:52 +0200)
commit36896335b4439550f5d91bf79b296dc1b421b22a
treed0043ac62aa66bd6af4371d2eec9ca822f0c8ab1
parent38a716b1e88bea53a41aac2dcaf54f68f031edff
maint: correct coverity-reported "suspicious sizeof"

* parted/table.c (table_add_row): Use sizeof(*VAR), rather than
erroneous sizeof(explicit_type) that just happened to be ok.
parted/table.c