2010-11-20 13:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/rtl/sha1.c
    * cleaned casting to not drop canst attribute
This commit is contained in:
Przemyslaw Czerpak
2010-11-20 12:22:46 +00:00
parent c40da0b34b
commit 166131f652
2 changed files with 5 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-20 13:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/sha1.c
* cleaned casting to not drop canst attribute
2010-11-20 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/common/expropt2.c
* casting

View File

@@ -123,7 +123,7 @@ void hb_SHA1_Init(SHA_CTX* context) {
/* Run your data through this. */
void hb_SHA1_Update(SHA_CTX *context, const void *datav, unsigned int len) {
sha1_byte * data = ( sha1_byte * ) datav;
const sha1_byte * data = ( const sha1_byte * ) datav;
unsigned int i, j;
j = (context->count[0] >> 3) & 63;