[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnet/support sha384.c, 1.1, 1.2 sha512.c, 1.1, 1.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnet/support sha384.c, 1.1, 1.2 sha512.c, 1.1, 1.2 thread.c, 1.14, 1.15 time.c, 1.8, 1.9 wait.c, 1.5, 1.6 wait_event.c, 1.2, 1.3 |
Date: |
Tue, 11 Nov 2003 23:24:38 +0000 |
Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv4243/support
Modified Files:
sha384.c sha512.c thread.c time.c wait.c wait_event.c
Log Message:
Fix some warnings that were turned up by gcc 3.3.
Index: sha384.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/sha384.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sha384.c 12 Jul 2002 03:02:42 -0000 1.1
--- sha384.c 11 Nov 2003 23:24:36 -0000 1.2
***************
*** 33,44 ****
{
sha->inputLen = 0;
! sha->A = 0xcbbb9d5dc1059ed8;
! sha->B = 0x629a292a367cd507;
! sha->C = 0x9159015a3070dd17;
! sha->D = 0x152fecd8f70e5939;
! sha->E = 0x67332667ffc00b31;
! sha->F = 0x8eb44a8768581511;
! sha->G = 0xdb0c2e0d64f98fa7;
! sha->H = 0x47b5481dbefa4fa4;
sha->totalLen = 0;
}
--- 33,44 ----
{
sha->inputLen = 0;
! sha->A = (ILUInt64)(0xcbbb9d5dc1059ed8LL);
! sha->B = (ILUInt64)(0x629a292a367cd507LL);
! sha->C = (ILUInt64)(0x9159015a3070dd17LL);
! sha->D = (ILUInt64)(0x152fecd8f70e5939LL);
! sha->E = (ILUInt64)(0x67332667ffc00b31LL);
! sha->F = (ILUInt64)(0x8eb44a8768581511LL);
! sha->G = (ILUInt64)(0xdb0c2e0d64f98fa7LL);
! sha->H = (ILUInt64)(0x47b5481dbefa4fa4LL);
sha->totalLen = 0;
}
Index: sha512.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/sha512.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sha512.c 12 Jul 2002 03:02:42 -0000 1.1
--- sha512.c 11 Nov 2003 23:24:36 -0000 1.2
***************
*** 50,73 ****
*/
static ILUInt64 const K[80] = {
! 0x428a2f98d728ae22, 0x7137449123ef65cd, 0xb5c0fbcfec4d3b2f,
0xe9b5dba58189dbbc,
! 0x3956c25bf348b538, 0x59f111f1b605d019, 0x923f82a4af194f9b,
0xab1c5ed5da6d8118,
! 0xd807aa98a3030242, 0x12835b0145706fbe, 0x243185be4ee4b28c,
0x550c7dc3d5ffb4e2,
! 0x72be5d74f27b896f, 0x80deb1fe3b1696b1, 0x9bdc06a725c71235,
0xc19bf174cf692694,
! 0xe49b69c19ef14ad2, 0xefbe4786384f25e3, 0x0fc19dc68b8cd5b5,
0x240ca1cc77ac9c65,
! 0x2de92c6f592b0275, 0x4a7484aa6ea6e483, 0x5cb0a9dcbd41fbd4,
0x76f988da831153b5,
! 0x983e5152ee66dfab, 0xa831c66d2db43210, 0xb00327c898fb213f,
0xbf597fc7beef0ee4,
! 0xc6e00bf33da88fc2, 0xd5a79147930aa725, 0x06ca6351e003826f,
0x142929670a0e6e70,
! 0x27b70a8546d22ffc, 0x2e1b21385c26c926, 0x4d2c6dfc5ac42aed,
0x53380d139d95b3df,
! 0x650a73548baf63de, 0x766a0abb3c77b2a8, 0x81c2c92e47edaee6,
0x92722c851482353b,
! 0xa2bfe8a14cf10364, 0xa81a664bbc423001, 0xc24b8b70d0f89791,
0xc76c51a30654be30,
! 0xd192e819d6ef5218, 0xd69906245565a910, 0xf40e35855771202a,
0x106aa07032bbd1b8,
! 0x19a4c116b8d2d0c8, 0x1e376c085141ab53, 0x2748774cdf8eeb99,
0x34b0bcb5e19b48a8,
! 0x391c0cb3c5c95a63, 0x4ed8aa4ae3418acb, 0x5b9cca4f7763e373,
0x682e6ff3d6b2b8a3,
! 0x748f82ee5defb2fc, 0x78a5636f43172f60, 0x84c87814a1f0ab72,
0x8cc702081a6439ec,
! 0x90befffa23631e28, 0xa4506cebde82bde9, 0xbef9a3f7b2c67915,
0xc67178f2e372532b,
! 0xca273eceea26619c, 0xd186b8c721c0c207, 0xeada7dd6cde0eb1e,
0xf57d4f7fee6ed178,
! 0x06f067aa72176fba, 0x0a637dc5a2c898a6, 0x113f9804bef90dae,
0x1b710b35131c471b,
! 0x28db77f523047d84, 0x32caab7b40c72493, 0x3c9ebe0a15c9bebc,
0x431d67c49c100d4c,
! 0x4cc5d4becb3e42b6, 0x597f299cfc657e2a, 0x5fcb6fab3ad6faec, 0x6c44198c4a475817
};
--- 50,93 ----
*/
static ILUInt64 const K[80] = {
! (ILUInt64)(0x428a2f98d728ae22LL), (ILUInt64)(0x7137449123ef65cdLL),
! (ILUInt64)(0xb5c0fbcfec4d3b2fLL), (ILUInt64)(0xe9b5dba58189dbbcLL),
! (ILUInt64)(0x3956c25bf348b538LL), (ILUInt64)(0x59f111f1b605d019LL),
! (ILUInt64)(0x923f82a4af194f9bLL), (ILUInt64)(0xab1c5ed5da6d8118LL),
! (ILUInt64)(0xd807aa98a3030242LL), (ILUInt64)(0x12835b0145706fbeLL),
! (ILUInt64)(0x243185be4ee4b28cLL), (ILUInt64)(0x550c7dc3d5ffb4e2LL),
! (ILUInt64)(0x72be5d74f27b896fLL), (ILUInt64)(0x80deb1fe3b1696b1LL),
! (ILUInt64)(0x9bdc06a725c71235LL), (ILUInt64)(0xc19bf174cf692694LL),
! (ILUInt64)(0xe49b69c19ef14ad2LL), (ILUInt64)(0xefbe4786384f25e3LL),
! (ILUInt64)(0x0fc19dc68b8cd5b5LL), (ILUInt64)(0x240ca1cc77ac9c65LL),
! (ILUInt64)(0x2de92c6f592b0275LL), (ILUInt64)(0x4a7484aa6ea6e483LL),
! (ILUInt64)(0x5cb0a9dcbd41fbd4LL), (ILUInt64)(0x76f988da831153b5LL),
! (ILUInt64)(0x983e5152ee66dfabLL), (ILUInt64)(0xa831c66d2db43210LL),
! (ILUInt64)(0xb00327c898fb213fLL), (ILUInt64)(0xbf597fc7beef0ee4LL),
! (ILUInt64)(0xc6e00bf33da88fc2LL), (ILUInt64)(0xd5a79147930aa725LL),
! (ILUInt64)(0x06ca6351e003826fLL), (ILUInt64)(0x142929670a0e6e70LL),
! (ILUInt64)(0x27b70a8546d22ffcLL), (ILUInt64)(0x2e1b21385c26c926LL),
! (ILUInt64)(0x4d2c6dfc5ac42aedLL), (ILUInt64)(0x53380d139d95b3dfLL),
! (ILUInt64)(0x650a73548baf63deLL), (ILUInt64)(0x766a0abb3c77b2a8LL),
! (ILUInt64)(0x81c2c92e47edaee6LL), (ILUInt64)(0x92722c851482353bLL),
! (ILUInt64)(0xa2bfe8a14cf10364LL), (ILUInt64)(0xa81a664bbc423001LL),
! (ILUInt64)(0xc24b8b70d0f89791LL), (ILUInt64)(0xc76c51a30654be30LL),
! (ILUInt64)(0xd192e819d6ef5218LL), (ILUInt64)(0xd69906245565a910LL),
! (ILUInt64)(0xf40e35855771202aLL), (ILUInt64)(0x106aa07032bbd1b8LL),
! (ILUInt64)(0x19a4c116b8d2d0c8LL), (ILUInt64)(0x1e376c085141ab53LL),
! (ILUInt64)(0x2748774cdf8eeb99LL), (ILUInt64)(0x34b0bcb5e19b48a8LL),
! (ILUInt64)(0x391c0cb3c5c95a63LL), (ILUInt64)(0x4ed8aa4ae3418acbLL),
! (ILUInt64)(0x5b9cca4f7763e373LL), (ILUInt64)(0x682e6ff3d6b2b8a3LL),
! (ILUInt64)(0x748f82ee5defb2fcLL), (ILUInt64)(0x78a5636f43172f60LL),
! (ILUInt64)(0x84c87814a1f0ab72LL), (ILUInt64)(0x8cc702081a6439ecLL),
! (ILUInt64)(0x90befffa23631e28LL), (ILUInt64)(0xa4506cebde82bde9LL),
! (ILUInt64)(0xbef9a3f7b2c67915LL), (ILUInt64)(0xc67178f2e372532bLL),
! (ILUInt64)(0xca273eceea26619cLL), (ILUInt64)(0xd186b8c721c0c207LL),
! (ILUInt64)(0xeada7dd6cde0eb1eLL), (ILUInt64)(0xf57d4f7fee6ed178LL),
! (ILUInt64)(0x06f067aa72176fbaLL), (ILUInt64)(0x0a637dc5a2c898a6LL),
! (ILUInt64)(0x113f9804bef90daeLL), (ILUInt64)(0x1b710b35131c471bLL),
! (ILUInt64)(0x28db77f523047d84LL), (ILUInt64)(0x32caab7b40c72493LL),
! (ILUInt64)(0x3c9ebe0a15c9bebcLL), (ILUInt64)(0x431d67c49c100d4cLL),
! (ILUInt64)(0x4cc5d4becb3e42b6LL), (ILUInt64)(0x597f299cfc657e2aLL),
! (ILUInt64)(0x5fcb6fab3ad6faecLL), (ILUInt64)(0x6c44198c4a475817LL)
};
***************
*** 75,86 ****
{
sha->inputLen = 0;
! sha->A = 0x6a09e667f3bcc908;
! sha->B = 0xbb67ae8584caa73b;
! sha->C = 0x3c6ef372fe94f82b;
! sha->D = 0xa54ff53a5f1d36f1;
! sha->E = 0x510e527fade682d1;
! sha->F = 0x9b05688c2b3e6c1f;
! sha->G = 0x1f83d9abfb41bd6b;
! sha->H = 0x5be0cd19137e2179;
sha->totalLen = 0;
}
--- 95,106 ----
{
sha->inputLen = 0;
! sha->A = (ILUInt64)(0x6a09e667f3bcc908LL);
! sha->B = (ILUInt64)(0xbb67ae8584caa73bLL);
! sha->C = (ILUInt64)(0x3c6ef372fe94f82bLL);
! sha->D = (ILUInt64)(0xa54ff53a5f1d36f1LL);
! sha->E = (ILUInt64)(0x510e527fade682d1LL);
! sha->F = (ILUInt64)(0x9b05688c2b3e6c1fLL);
! sha->G = (ILUInt64)(0x1f83d9abfb41bd6bLL);
! sha->H = (ILUInt64)(0x5be0cd19137e2179LL);
sha->totalLen = 0;
}
Index: wait.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/wait.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wait.c 15 Jul 2003 22:17:33 -0000 1.5
--- wait.c 11 Nov 2003 23:24:36 -0000 1.6
***************
*** 279,283 ****
/* Wait until we are signalled, timed out, or interrupted */
resultHandle = 0;
! result = _ILWakeupWait(wakeup, timeout, (void **)&resultHandle);
/* Unregister the thread from the wait handles */
--- 279,283 ----
/* Wait until we are signalled, timed out, or interrupted */
resultHandle = 0;
! result = _ILWakeupWait(wakeup, timeout, (void *)&resultHandle);
/* Unregister the thread from the wait handles */
Index: wait_event.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/wait_event.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** wait_event.c 15 Jul 2003 22:17:33 -0000 1.2
--- wait_event.c 11 Nov 2003 23:24:36 -0000 1.3
***************
*** 101,105 ****
static int EventSignal(ILWaitHandle *waitHandle)
{
! ILWaitEventSet(waitHandle);
}
--- 101,105 ----
static int EventSignal(ILWaitHandle *waitHandle)
{
! return ILWaitEventSet(waitHandle);
}
Index: thread.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/thread.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** thread.c 15 Jul 2003 22:17:33 -0000 1.14
--- thread.c 11 Nov 2003 23:24:36 -0000 1.15
***************
*** 995,999 ****
int ILThreadGetPriority(ILThread *thread)
{
! _ILThreadGetPriority(thread);
}
--- 995,999 ----
int ILThreadGetPriority(ILThread *thread)
{
! return _ILThreadGetPriority(thread);
}
Index: time.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/time.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** time.c 30 Jun 2003 21:25:51 -0000 1.8
--- time.c 11 Nov 2003 23:24:36 -0000 1.9
***************
*** 49,57 ****
* Jan 1, 1970 into a value which is relative to Jan 1, 0001.
*/
- #ifdef IL_WIN32_NATIVE
#define EPOCH_ADJUST ((ILInt64)62135596800LL)
- #else
- #define EPOCH_ADJUST ((ILInt64)62135596800L)
- #endif
/*
--- 49,53 ----
***************
*** 59,67 ****
* Jan 1, 1601 into a value which is relative to Jan 1, 0001.
*/
- #ifdef IL_WIN32_NATIVE
#define WIN32_EPOCH_ADJUST ((ILInt64)50491123200LL)
- #else
- #define WIN32_EPOCH_ADJUST ((ILInt64)50491123200L)
- #endif
/*
--- 55,59 ----
***************
*** 69,77 ****
* Jan 1, 1904 into a value which is relative to Jan 1, 0001.
*/
- #ifdef IL_WIN32_NATIVE
#define PALM_EPOCH_ADJUST ((ILInt64)60052752000LL)
- #else
- #define PALM_EPOCH_ADJUST ((ILInt64)60052752000L)
- #endif
void ILGetCurrTime(ILCurrTime *timeValue)
--- 61,65 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet/support sha384.c, 1.1, 1.2 sha512.c, 1.1, 1.2 thread.c, 1.14, 1.15 time.c, 1.8, 1.9 wait.c, 1.5, 1.6 wait_event.c, 1.2, 1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnet ChangeLog,1.2765,1.2766
- Next by Date:
[Dotgnu-pnet-commits] pnet ChangeLog, 1.2766, 1.2767 configure.in, 1.154, 1.155
- Previous by thread:
[Dotgnu-pnet-commits] pnet ChangeLog,1.2765,1.2766
- Next by thread:
[Dotgnu-pnet-commits] pnet ChangeLog, 1.2766, 1.2767 configure.in, 1.154, 1.155
- Index(es):