From 2aeb1a70ea9436b98d499a9b42756d0c740d60d3 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Mon, 6 May 2019 17:59:23 +0200 Subject: [PATCH] os: remove 'register' keyword from 'pixel_rgba.h' Fixes #3331 --- repos/os/include/os/pixel_rgba.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/include/os/pixel_rgba.h b/repos/os/include/os/pixel_rgba.h index 8e27cffe5a..d17c39cfaa 100644 --- a/repos/os/include/os/pixel_rgba.h +++ b/repos/os/include/os/pixel_rgba.h @@ -128,7 +128,7 @@ class Genode::Pixel_rgba static void transfer(TPT const &src, int src_a, int alpha, PT &dst) { if (src_a) { - int register a = (src_a * alpha)>>8; + int a = (src_a * alpha)>>8; if (a) dst = PT::mix(dst, src, a); } }