Changeset 61858 in webkit


Ignore:
Timestamp:
Jun 25, 2010 6:25:46 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-06-25 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Kenneth Rohde Christiansen.

[EFL] Fix warnings about printf format
When printing uint64_t the macro PRIu64 is needed in order to be
portable across 32 and 64 bits. It was previously showing warning
messages on 32-bits systems.
https://bugs.webkit.org/show_bug.cgi?id=40965

  • efl/ewk/ewk_view.cpp: (ewk_view_exceeded_database_quota):
Location:
trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/ChangeLog

    r61857 r61858  
     12010-06-25  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [EFL] Fix warnings about printf format
     6        When printing uint64_t the macro PRIu64 is needed in order to be
     7        portable across 32 and 64 bits. It was previously showing warning
     8        messages on 32-bits systems.
     9        https://bugs.webkit.org/show_bug.cgi?id=40965
     10
     11        * efl/ewk/ewk_view.cpp:
     12        (ewk_view_exceeded_database_quota):
     13
    1142010-06-25  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
    215
  • trunk/WebKit/efl/ewk/ewk_view.cpp

    r61706 r61858  
    1919*/
    2020
     21#define __STDC_FORMAT_MACROS
    2122#include "config.h"
    2223#include "ewk_view.h"
     
    4445#include <Evas.h>
    4546#include <eina_safety_checks.h>
     47#include <inttypes.h>
    4648#include <sys/time.h>
    4749
     
    34653467        return 0;
    34663468
    3467     ERR("##### %lu %lu", current_size, expected_size);
     3469    INF("current_size=%"PRIu64" expected_size="PRIu64, current_size, expected_size);
    34683470    return sd->api->exceeded_database_quota(sd, frame, databaseName, current_size, expected_size);
    34693471}
Note: See TracChangeset for help on using the changeset viewer.