[Beignet] [PATCH] Fix loop condition of PrintfSet constructor.

Zhigang Gong zhigang.gong at linux.intel.com
Thu Jan 8 00:16:42 PST 2015


Thanks for the fix. Pushed.

On Thu, Jan 08, 2015 at 04:50:25PM +0800, Yan Wang wrote:
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
> ---
>  backend/src/ir/printf.hpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/src/ir/printf.hpp b/backend/src/ir/printf.hpp
> index 3b176f6..cc1f8dc 100644
> --- a/backend/src/ir/printf.hpp
> +++ b/backend/src/ir/printf.hpp
> @@ -176,7 +176,7 @@ namespace gbe
>            fmts.push_back(f);
>          }
>  
> -        for (size_t i = 0; i < other.fmts.size(); ++i) {
> +        for (size_t i = 0; i < other.slots.size(); ++i) {
>            PrintfSlot* s = other.slots[i];
>            slots.push_back(s);
>          }
> -- 
> 1.9.3
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list