cabinet: Remove unneeded cast

Andrew Talbot andrew.talbot at talbotville.com
Sat Dec 29 09:37:27 CST 2007


Changelog:
    cabinet: Remove unneeded cast.

diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c
index 91e2daf..a0bb64a 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;
 }



More information about the wine-patches mailing list