~sircmpwn/hare-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH hare-qoi] Update per stdlib changes

Details
Message ID
<20230909135012.18318-1-yyp@disroot.org>
DKIM signature
pass
Download raw message
Patch: +2 -2
---
 image/qoi/qoi.ha | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/image/qoi/qoi.ha b/image/qoi/qoi.ha
index b79fb6c..905eab5 100644
--- a/image/qoi/qoi.ha
+++ b/image/qoi/qoi.ha
@@ -156,7 +156,7 @@ fn qoi_read(st: *io::stream, buf: []u8) (size | io::error | io::EOF) = {
};

fn readtag(rd: *reader) (void | io::error | io::EOF) = {
	const op = match (bufio::scanbyte(rd.src)?) {
	const op = match (bufio::read_byte(rd.src)?) {
	case let op: u8 =>
		yield op: qoi_tag;
	case io::EOF =>
@@ -198,7 +198,7 @@ fn readtag(rd: *reader) (void | io::error | io::EOF) = {
		rd.count = 1;
	case qoi_tag::QOI_OP_LUMA =>
		const dg = (op & ~qoi_tag::QOI_OP_MASK) - 32;
		const (dr, db) = match (bufio::scanbyte(rd.src)?) {
		const (dr, db) = match (bufio::read_byte(rd.src)?) {
		case let u: u8 =>
			yield (u >> 4, u & 0xF);
		case io::EOF =>
-- 
2.42.0
Details
Message ID
<CVOGLAGIRLSO.3JCFYBF03VM8M@taiga>
In-Reply-To
<20230909135012.18318-1-yyp@disroot.org> (view parent)
DKIM signature
pass
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/hare-qoi
   2d0ff4a..5c6111e  master -> master
Reply to thread Export thread (mbox)