* src/storage_backend_fs.c: fix a signed/unsigned issue breaking

virStorageBackendProbeFile(), patch by Cole Robinson
Daniel
This commit is contained in:
Daniel Veillard
2008-09-04 13:34:42 +00:00
parent a8d0600762
commit e88295804a
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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) {