]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) use size_t and gpt_get_nentries()
authorKarel Zak <kzak@redhat.com>
Wed, 5 Apr 2017 12:46:12 +0000 (14:46 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Apr 2017 12:55:32 +0000 (14:55 +0200)
commitb683c081085381401f1f777d076d073759cdb964
tree2dc0bfb135f8bf75f99bb0d9d716f6339dddbc7f
parentb28df75eece3b65b79b2e56f1c197c2f128ac3d9
libfdisk: (gpt) use size_t and gpt_get_nentries()

If possible use size_t for number of entries (partitions). It
makes code more readable and without unnecessary casts.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/gpt.c