aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpi/ChangeLog5
-rw-r--r--mpi/mpiutil.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 9a19be187..a34bf0f53 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-17 David Shaw <[email protected]>
+
+ * mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of
+ an opaque MPI unsigned.
+
2003-12-04 David Shaw <[email protected]>
* config.links: Show target in asm-syntax.h file and include
diff --git a/mpi/mpiutil.c b/mpi/mpiutil.c
index 25d98ac1c..2fc9c0168 100644
--- a/mpi/mpiutil.c
+++ b/mpi/mpiutil.c
@@ -295,7 +295,7 @@ mpi_set_secure( MPI a )
MPI
-mpi_set_opaque( MPI a, void *p, int len )
+mpi_set_opaque( MPI a, void *p, unsigned int len )
{
if( !a ) {
#ifdef M_DEBUG
@@ -325,7 +325,7 @@ mpi_set_opaque( MPI a, void *p, int len )
void *
-mpi_get_opaque( MPI a, int *len )
+mpi_get_opaque( MPI a, unsigned int *len )
{
if( !(a->flags & 4) )
log_bug("mpi_get_opaque on normal mpi\n");