Signed-off-by: Yan Wang <yan.w...@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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to