changeset 46:0b3e087a6d37 MC_shared

add cast to remove warning
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 29 May 2013 16:07:59 +0200
parents 179144f26c9d
children
files PrivateQueue.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/PrivateQueue.c	Wed May 15 15:28:42 2013 +0200
     1.2 +++ b/PrivateQueue.c	Wed May 29 16:07:59 2013 +0200
     1.3 @@ -80,7 +80,7 @@
     1.4     newEndOfData       = newStartOfData + newSize; //all calcs in Bytes
     1.5  
     1.6        //TODO: test all of this, for both cases
     1.7 -   Q->startOfData     = newStartOfData;
     1.8 +   Q->startOfData     = (void **) newStartOfData;
     1.9     Q->endOfData       = ((void **)newEndOfData) - 1;
    1.10     
    1.11        //Moving the data and pointers to the new array is