From 7811f184bb61ecbc2570433a7b05cc4737e3ca4b Mon Sep 17 00:00:00 2001
From: sam <sam@92316355-f0b4-4df1-b90c-862c8a59935f>
Date: Sat, 21 Feb 2009 14:26:38 +0000
Subject: [PATCH] storyboard.c: fix compilation with optimisations disabled.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3400 92316355-f0b4-4df1-b90c-862c8a59935f
---
 examples/storyboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/storyboard.c b/examples/storyboard.c
index 09f4bf0..8f7fc68 100644
--- a/examples/storyboard.c
+++ b/examples/storyboard.c
@@ -217,7 +217,7 @@ static void decorate(uint8_t *img)
 {
     static int const hi = 200;
     static int const lo = 50;
-    static int const mid = (hi + lo) / 2;
+    static int const mid = 127;
     int x, y;
 
     for(y = 0; y < THEIGHT; y++)