diff --git a/ChangeLog b/ChangeLog index 0e71577d14575c3313c9891a76923dad16129d48..16c3f049d283a84819939398bad653bdd455f129 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 4 15:33:26 CEST 2008 Daniel Veillard + + * src/storage_backend_fs.c: fix a signed/unsigned issue breaking + virStorageBackendProbeFile(), patch by Cole Robinson + Thu Sep 4 15:18:00 CEST 2008 Daniel Veillard * src/qemu_driver.c: fix an error message, patch by Nguyen Anh Quynh diff --git a/src/storage_backend_fs.c b/src/storage_backend_fs.c index 63124df80ad9635a6594417e354c4008ba297771..dd4c79ce2933e352e13866a66eed980dbf49906d 100644 --- a/src/storage_backend_fs.c +++ b/src/storage_backend_fs.c @@ -338,7 +338,7 @@ virStorageBackendFileSystemNetPoolFormatToString(virConnectPtr conn, static int virStorageBackendProbeFile(virConnectPtr conn, virStorageVolDefPtr def) { int fd; - char head[4096]; + unsigned char head[4096]; int len, i, ret; if ((fd = open(def->target.path, O_RDONLY)) < 0) {