WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125298
32bit buildfix after
r160151
https://bugs.webkit.org/show_bug.cgi?id=125298
Summary
32bit buildfix after r160151
Laszlo Vidacs
Reported
2013-12-05 04:12:39 PST
32bit build fails with the following message: Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: In member function 'void StreamingClient::handleDataReceived(const char*, int)': Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943:517: error: format '%ld' expects argument of type 'long int', but argument 8 has type 'unsigned int' [-Werror=format] Buildbot: EFL Linux 32-bit Release (Build)
Attachments
Patch
(1.58 KB, patch)
2013-12-05 04:57 PST
,
Laszlo Vidacs
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Laszlo Vidacs
Comment 1
2013-12-05 04:57:47 PST
Created
attachment 218503
[details]
Patch
WebKit Commit Bot
Comment 2
2013-12-05 04:59:14 PST
Attachment 218503
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp', '--commit-queue']" exit_code: 1 ERROR: Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943: Comma should be at the beggining of the line in a member initialization list. [whitespace/init] [4] Total errors found: 2 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Laszlo Vidacs
Comment 3
2013-12-05 05:04:18 PST
This seems to be a false positive - no initialization list in this line.
Philippe Normand
Comment 4
2013-12-05 05:21:21 PST
Comment on
attachment 218503
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=218503&action=review
> Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943 > + GST_LOG_OBJECT(src, "Have %lld bytes of data", priv->buffer ? static_cast<long long>(gst_buffer_get_size(priv->buffer.get())) : length);
Perhaps use %zd ?
Philippe Normand
Comment 5
2013-12-05 05:23:15 PST
*** This bug has been marked as a duplicate of
bug 125296
***
Csaba Osztrogonác
Comment 6
2013-12-05 14:39:59 PST
Comment on
attachment 218503
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=218503&action=review
>> Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943 >> + GST_LOG_OBJECT(src, "Have %lld bytes of data", priv->buffer ? static_cast<long long>(gst_buffer_get_size(priv->buffer.get())) : length); > > Perhaps use %zd ?
gst_buffer_get_size returns unsigned int (32bit), length is int (32bit). An unsigned int can be extended properly to long long int (64bit) on x86. So it is the proper fix, r=me to fix the build as soon as possible.
Csaba Osztrogonác
Comment 7
2013-12-05 14:40:20 PST
Reopen to let CQ land the fix.
Csaba Osztrogonác
Comment 8
2013-12-05 14:42:02 PST
***
Bug 125296
has been marked as a duplicate of this bug. ***
WebKit Commit Bot
Comment 9
2013-12-05 15:09:55 PST
Comment on
attachment 218503
[details]
Patch Clearing flags on attachment: 218503 Committed
r160196
: <
http://trac.webkit.org/changeset/160196
>
WebKit Commit Bot
Comment 10
2013-12-05 15:09:59 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug