Michael Stefaniuc : rsaenh: Remove superfluous casts of zero.
Alexandre Julliard
julliard at winehq.org
Mon Mar 29 09:57:52 CDT 2010
Module: wine
Branch: master
Commit: f2a331cd0ce3d508981152a84adf9d7ff8b766c3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f2a331cd0ce3d508981152a84adf9d7ff8b766c3
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sun Mar 28 23:50:48 2010 +0200
rsaenh: Remove superfluous casts of zero.
---
dlls/rsaenh/sha2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/rsaenh/sha2.c b/dlls/rsaenh/sha2.c
index d15e6fb..6c1a2e6 100644
--- a/dlls/rsaenh/sha2.c
+++ b/dlls/rsaenh/sha2.c
@@ -582,7 +582,7 @@ char *SHA256_End(SHA256_CTX* context, char buffer[]) {
*buffer++ = sha2_hex_digits[*d & 0x0f];
d++;
}
- *buffer = (char)0;
+ *buffer = 0;
} else {
MEMSET_BZERO(context, sizeof(context));
}
@@ -911,7 +911,7 @@ char *SHA512_End(SHA512_CTX* context, char buffer[]) {
*buffer++ = sha2_hex_digits[*d & 0x0f];
d++;
}
- *buffer = (char)0;
+ *buffer = 0;
} else {
MEMSET_BZERO(context, sizeof(context));
}
@@ -986,7 +986,7 @@ char *SHA384_End(SHA384_CTX* context, char buffer[]) {
*buffer++ = sha2_hex_digits[*d & 0x0f];
d++;
}
- *buffer = (char)0;
+ *buffer = 0;
} else {
MEMSET_BZERO(context, sizeof(context));
}
More information about the wine-cvs
mailing list