diff options
Diffstat (limited to 'src/io/bufreader.nim')
-rw-r--r-- | src/io/bufreader.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/bufreader.nim b/src/io/bufreader.nim index 3ee36208..f25309e2 100644 --- a/src/io/bufreader.nim +++ b/src/io/bufreader.nim @@ -54,7 +54,7 @@ proc sread*(reader: var BufferedReader; part: var FormDataEntry) proc sread*(reader: var BufferedReader; blob: var Blob) proc sread*[T](reader: var BufferedReader; o: var Option[T]) proc sread*[T, E](reader: var BufferedReader; o: var Result[T, E]) -proc sread*(reader: var BufferedReader; c: var RGBAColor) {.inline.} +proc sread*(reader: var BufferedReader; c: var ARGBColor) {.inline.} proc readData(reader: var BufferedReader; buffer: pointer; len: int) = assert reader.bufIdx + len <= reader.buffer.len @@ -201,5 +201,5 @@ proc sread*[T, E](reader: var BufferedReader; o: var Result[T, E]) = else: o.err() -proc sread*(reader: var BufferedReader; c: var RGBAColor) = +proc sread*(reader: var BufferedReader; c: var ARGBColor) = reader.sread(uint32(c)) |