Revision 40d0e665 libavcodec/i386/dsputil_h264_template_ssse3.c

View differences:

libavcodec/i386/dsputil_h264_template_ssse3.c
72 72
                "lea (%0,%3,2), %0 \n\t"
73 73
                "jg 1b \n\t"
74 74
                :"+r"(dst), "+r"(src), "+r"(h)
75
                :"r"((long)stride)
75
                :"r"((x86_reg)stride)
76 76
            );
77 77
        } else {
78 78
            asm volatile(
......
100 100
                "lea (%0,%3,2), %0 \n\t"
101 101
                "jg 1b \n\t"
102 102
                :"+r"(dst), "+r"(src), "+r"(h)
103
                :"r"((long)stride)
103
                :"r"((x86_reg)stride)
104 104
            );
105 105
        }
106 106
        return;
......
154 154
        "lea (%0,%3,2), %0 \n\t"
155 155
        "jg 1b \n\t"
156 156
        :"+r"(dst), "+r"(src), "+r"(h)
157
        :"r"((long)stride)
157
        :"r"((x86_reg)stride)
158 158
    );
159 159
}
160 160

  
......
202 202
        "lea (%0,%3,2), %0 \n\t"
203 203
        "jg 1b \n\t"
204 204
        :"+r"(dst), "+r"(src), "+r"(h)
205
        :"r"((long)stride)
205
        :"r"((x86_reg)stride)
206 206
    );
207 207
}
208 208

  

Also available in: Unified diff