Compiling with the more strict gcc flag -Wconversion yields some errors like: stringrep.hpp:86:21: error: conversion to 'char' from 'uint16_t {aka short unsigned int}' may alter its value [-Werror=conversion]