OSDN Git Service

ped_disk_type_get_next: fix a const-correctness bug
authorJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 08:44:30 +0000 (09:44 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 08:44:30 +0000 (09:44 +0100)
commit666cd7fca6ec2a5db364bd4de47dd64c1c373905
tree08299133f17e7b1e62c70247b7417695cd18d9f8
parenta654f9c93f0dd5339d4afe50f5822d3e2b239ff7
ped_disk_type_get_next: fix a const-correctness bug

* libparted/disk.c (ped_disk_type_get_next): Make param const.
* include/parted/disk.h (ped_disk_type_get_next): Update prototype.
include/parted/disk.h
libparted/disk.c