From fb269bcd784ca431340cf47e7b515f64688bd55e Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 19 Oct 2005 05:46:36 +0000 Subject: Fixes from Loic Le Loarer --- common/spio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/spio.c') diff --git a/common/spio.c b/common/spio.c index 5ee58ee..f2198c0 100644 --- a/common/spio.c +++ b/common/spio.c @@ -441,7 +441,7 @@ int read_raw(spctx_t* ctx, spio_t* io, int opts) { /* * K, basically the logic is that we're discarding - * data ond the data will be screwed up. So overwriting + * data and the data will be screwed up. So overwriting * some valid data in order to flush the line and * keep the buffering simple is a price we pay gladly :) */ @@ -544,7 +544,7 @@ int spio_write_dataf(struct spctx* ctx, spio_t* io, const char* fmt, ...) return spio_write_data(ctx, io, buf); } -int spio_write_data_raw(spctx_t* ctx, spio_t* io, unsigned char* buf, int len) +int spio_write_data_raw(spctx_t* ctx, spio_t* io, const unsigned char* buf, int len) { int r; -- cgit v1.2.3