Changeset 9653


Ignore:
Timestamp:
Dec 2, 2009, 7:44:01 PM (13 years ago)
Author:
charles
Message:

(trunk libT) fix implicit pointer conversion error when #included in C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r9650 r9653  
    437437                 tr_bool * renamed ) TR_GNUC_NONNULL(1,2);
    438438
    439 static TR_INLINE void tr_removeElementFromArray( void * array, int index_to_remove,
    440                                 size_t sizeof_element, size_t nmemb )
    441 {
    442     char * a = array;
     439static TR_INLINE void tr_removeElementFromArray( void   * array,
     440                                                 int      index_to_remove,
     441                                                 size_t   sizeof_element,
     442                                                 size_t   nmemb )
     443{
     444    char * a = (char*) array;
    443445
    444446    memmove( a + sizeof_element * index_to_remove,
Note: See TracChangeset for help on using the changeset viewer.