fix glib-log test

This commit is contained in:
Matthew Flatt 2020-02-21 08:11:27 -07:00
parent dad9995f56
commit bfce3ba665

View File

@ -54,7 +54,8 @@
(define (make s)
(define p (malloc (add1 (bytes-length s)) 'raw))
(memcpy p s (add1 (bytes-length s)))
(memcpy p s (bytes-length s))
(ptr-set! p _byte (bytes-length s) 0)
p)
(define hello (make #"hello"))