From 69599675a7d6ee7ea0a10bf4ccb994ccd7c6c2a7 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 29 Dec 2007 15:37:27 +0000 Subject: [PATCH] cabinet: Remove unneeded cast. --- dlls/cabinet/fdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index 91e2daf21dd..a0bb64a9d06 100644 --- a/dlls/cabinet/fdi.c +++ b/dlls/cabinet/fdi.c @@ -461,7 +461,7 @@ static char *FDI_read_string(HFDI hfdi, INT_PTR hf, long cabsize) } /* otherwise, set the stream to just after the string and return */ - PFDI_SEEK(hfdi, hf, base + ((cab_off_t) strlen((char *) buf)) + 1, SEEK_SET); + PFDI_SEEK(hfdi, hf, base + strlen((char *)buf) + 1, SEEK_SET); return (char *) buf; }