<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>125298</bug_id>
          
          <creation_ts>2013-12-05 04:12:39 -0800</creation_ts>
          <short_desc>32bit buildfix after r160151</short_desc>
          <delta_ts>2013-12-05 15:09:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Vidacs">lvidacs.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>k.czech</cc>
    
    <cc>menard</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ossy</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>956846</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Vidacs">lvidacs.u-szeged</who>
    <bug_when>2013-12-05 04:12:39 -0800</bug_when>
    <thetext>32bit build fails with the following message:

Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: In member function &apos;void StreamingClient::handleDataReceived(const char*, int)&apos;:
Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943:517: error: format &apos;%ld&apos; expects argument of type &apos;long int&apos;, but argument 8 has type &apos;unsigned int&apos; [-Werror=format]

Buildbot: EFL Linux 32-bit Release (Build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956858</commentid>
    <comment_count>1</comment_count>
      <attachid>218503</attachid>
    <who name="Laszlo Vidacs">lvidacs.u-szeged</who>
    <bug_when>2013-12-05 04:57:47 -0800</bug_when>
    <thetext>Created attachment 218503
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956861</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-05 04:59:14 -0800</bug_when>
    <thetext>Attachment 218503 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WebCore/ChangeLog&apos;, u&apos;Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp&apos;, &apos;--commit-queue&apos;]&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956864</commentid>
    <comment_count>3</comment_count>
    <who name="Laszlo Vidacs">lvidacs.u-szeged</who>
    <bug_when>2013-12-05 05:04:18 -0800</bug_when>
    <thetext>This seems to be a false positive - no initialization list in this line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956869</commentid>
    <comment_count>4</comment_count>
      <attachid>218503</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-12-05 05:21:21 -0800</bug_when>
    <thetext>Comment on attachment 218503
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=218503&amp;action=review

&gt; Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943
&gt; +    GST_LOG_OBJECT(src, &quot;Have %lld bytes of data&quot;, priv-&gt;buffer ? static_cast&lt;long long&gt;(gst_buffer_get_size(priv-&gt;buffer.get())) : length);

Perhaps use %zd ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956870</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-12-05 05:23:15 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 125296 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957053</commentid>
    <comment_count>6</comment_count>
      <attachid>218503</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-12-05 14:39:59 -0800</bug_when>
    <thetext>Comment on attachment 218503
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=218503&amp;action=review

&gt;&gt; Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:943
&gt;&gt; +    GST_LOG_OBJECT(src, &quot;Have %lld bytes of data&quot;, priv-&gt;buffer ? static_cast&lt;long long&gt;(gst_buffer_get_size(priv-&gt;buffer.get())) : length);
&gt; 
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957054</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-12-05 14:40:20 -0800</bug_when>
    <thetext>Reopen to let CQ land the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957056</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-12-05 14:42:02 -0800</bug_when>
    <thetext>*** Bug 125296 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957064</commentid>
    <comment_count>9</comment_count>
      <attachid>218503</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-05 15:09:55 -0800</bug_when>
    <thetext>Comment on attachment 218503
Patch

Clearing flags on attachment: 218503

Committed r160196: &lt;http://trac.webkit.org/changeset/160196&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957065</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-05 15:09:59 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>218503</attachid>
            <date>2013-12-05 04:57:47 -0800</date>
            <delta_ts>2013-12-05 15:09:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-125298-20131205135743.patch</filename>
            <type>text/plain</type>
            <size>1613</size>
            <attacher name="Laszlo Vidacs">lvidacs.u-szeged</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTYwMTY2CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNzMxZTk3ZmU4ZTFkMmY0
M2ZlYjVlMzA1MzVkNzFhZTcxODg3NmRmZC4uYjI0NWRhOWJiMzk3ZjkzNjMwZGJkY2RiZDljMGY1
NDBmNGQ1NmRiMiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDEzLTEyLTA1ICBMYXN6
bG8gVmlkYWNzICA8bGFjQGluZi51LXN6ZWdlZC5odT4KKworICAgICAgICAzMmJpdCBidWlsZGZp
eCBhZnRlciByMTYwMTUxCisgICAgICAgIGh0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