From 9847a8ce2fd749dda24017abc93cf0d1b25721b2 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 20 Feb 2007 21:07:33 +0100 Subject: [PATCH] db.c find_audio_files(): use int rather than char for cwd_fd --- db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.c b/db.c index 2e4ffbda..027dfda5 100644 --- a/db.c +++ b/db.c @@ -50,7 +50,7 @@ int find_audio_files(const char *dirname, int (*f)(const char *, const char *)) * is usually faster and more reliable than saving cwd in some buffer * and calling chdir() afterwards (see man 3 getcwd). */ - char cwd_fd = open(".", O_RDONLY); + int cwd_fd = open(".", O_RDONLY); struct stat s; int ret = -1; -- 2.39.2