Andrew Talbot : cabinet: Remove unneeded cast.
Alexandre Julliard
julliard at winehq.org
Mon Dec 31 12:32:33 CST 2007
Module: wine
Branch: master
Commit: 69599675a7d6ee7ea0a10bf4ccb994ccd7c6c2a7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=69599675a7d6ee7ea0a10bf4ccb994ccd7c6c2a7
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sat Dec 29 15:37:27 2007 +0000
cabinet: Remove unneeded cast.
---
dlls/cabinet/fdi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-cvs
mailing list