diff src/colour4.cc @ 109:f05330267c66

Use stdint types.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Oct 2014 12:59:23 +0300
parents 2f1ecc1c5f72
children
line wrap: on
line diff
--- a/src/colour4.cc	Mon Oct 06 12:46:32 2014 +0300
+++ b/src/colour4.cc	Mon Oct 06 12:59:23 2014 +0300
@@ -58,7 +58,7 @@
  *        Convert an 8-bit RGB component value to a 16-bit one.
  *        Will convert 00h to 0000h, 80h to 8080h and FFh to FFFFh.
  */
-static inline u16 eight2sixteen(u8 v)
+static inline uint16_t eight2sixteen(uint8_t v)
 {
     return (v << 8) | v;
 }