diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-05-18 22:27:42 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-05-18 22:27:42 +0000 |
commit | b873e82fedb8026ff397a976c38d4182a21da706 (patch) | |
tree | c176aed40df9d569e6997b325eceec4cbf609fb7 /apptype.c | |
parent | 5c0c0b37134b0adf152fe50a421560992e8cd5f8 (diff) |
Diffstat (limited to 'apptype.c')
-rw-r--r-- | apptype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apptype.c b/apptype.c index 6f171ad1e0a49..31b8095e13bae 100644 --- a/apptype.c +++ b/apptype.c @@ -27,7 +27,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: apptype.c,v 1.10 2009/02/03 20:27:51 christos Exp $") +FILE_RCSID("@(#)$File: apptype.c,v 1.11 2009/02/04 18:24:32 christos Exp $") #endif /* lint */ #include <stdlib.h> @@ -76,7 +76,7 @@ file_os2_apptype(struct magic_set *ms, const char *fn, const void *buf, } (void)fclose(fp); } - rc = DosQueryAppType(path, &type); + rc = DosQueryAppType((unsigned char *)path, &type); if (fn == NULL) { unlink(path); |