Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/qt3support/tools/q3gdict.cpp

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    438438{
    439439    Q3PtrBucket *n;
    440     int index = (int)((ulong)key % vlen);       // simple hash
     440    int index = (int)((quintptr)key % vlen);       // simple hash
    441441    if (op == op_find) {                        // find
    442442        for (n=(Q3PtrBucket*)vec[index]; n;
     
    651651    Q3PtrBucket *n;
    652652    Q3PtrBucket *prev = 0;
    653     int index = (int)((ulong)key % vlen);
     653    int index = (int)((quintptr)key % vlen);
    654654    for (n=(Q3PtrBucket *)vec[index]; n; n=(Q3PtrBucket *)n->getNext()) {
    655655        bool found = (n->getKey() == key);
Note: See TracChangeset for help on using the changeset viewer.