aboutsummaryrefslogtreecommitdiff
path: root/colour.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-12-22 20:34:53 +1300
committerDavid Phillips <david@sighup.nz>2017-12-22 20:34:53 +1300
commit9d1a2f26f24a814689a25f375d812e6e179369c8 (patch)
tree7bf57f108739850df47d6c81cfc30286f2214388 /colour.h
parentd7952dacbfa087dd70b574ccab69d3647ad21063 (diff)
downloadtetris-9d1a2f26f24a814689a25f375d812e6e179369c8.tar.xz
Add missing default case, correct type of colour values
Diffstat (limited to 'colour.h')
-rw-r--r--colour.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/colour.h b/colour.h
index 4c66992..fdb40d7 100644
--- a/colour.h
+++ b/colour.h
@@ -1,5 +1,5 @@
struct colour {
- char r;
- char g;
- char b;
+ unsigned char r;
+ unsigned char g;
+ unsigned char b;
};