summaryrefslogtreecommitdiff
path: root/src/u8c/print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u8c/print.c')
-rw-r--r--src/u8c/print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/u8c/print.c b/src/u8c/print.c
index d8fb7d7..5c34749 100644
--- a/src/u8c/print.c
+++ b/src/u8c/print.c
@@ -14,10 +14,11 @@
If not, see <https://www.gnu.org/licenses/>.
*/
# include <stdarg.h>
+# include <stdbool.h>
# include <stdint.h>
# include <u8c/print.h>
# include <u8c/vprint.h>
-uint_least8_t u8c_print(FILE * _fp,uint_least32_t const * const _msg,...) {
+bool u8c_print(FILE * _fp,char32_t const * const _msg,...) {
va_list args;
va_start(args,_msg);
uint_least8_t val = u8c_vprint(_fp,_msg,args);