Ignore:
Timestamp:
2010-12-17T14:04:10+13:00 (13 years ago)
Author:
sjm84
Message:

Committing 64 bit changes into the branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2/runtime-src/src/oaiservr/oaiargs.cpp

    r22739 r23508  
    2525 *********************************************************************/
    2626
     27#include "mglong.h"
    2728#include "oaiargs.h"
    2829#include "cgiutils.h"
     
    7778    text_t label, value;
    7879    if (equals == NULL) {
    79       label.setcarr((char *) start, (long) here - (long) start);
     80      label.setcarr((char *) start, (uintptr_t) here - (uintptr_t) start);
    8081      value = label;
    8182    }
    8283    else {
    83       label.setcarr((char *) start, (long) equals - (long) start);
     84      label.setcarr((char *) start, (uintptr_t) equals - (uintptr_t) start);
    8485      ++equals;
    85       value.setcarr((char *) equals, (long) here - (long) equals);
     86      value.setcarr((char *) equals, (uintptr_t) here - (uintptr_t) equals);
    8687    }
    8788
Note: See TracChangeset for help on using the changeset viewer.