diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2015-01-12 16:12:32 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2015-01-12 16:12:32 +0000 |
commit | 8b002b8b82bc0907018e2629eaeace417d3ab966 (patch) | |
tree | c616d65bfe671026b17b0071de1791a138965281 /slipdec | |
parent | a7f40c06e3c4f9711bcee46c84a3d8b9601f3b83 (diff) |
Correct out of range format messages.
svn path=/trunk/externals/mrpeach/; revision=17406
Diffstat (limited to 'slipdec')
-rw-r--r-- | slipdec/slipdec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/slipdec/slipdec.c b/slipdec/slipdec.c index 8aeb1c3..5ede639 100644 --- a/slipdec/slipdec.c +++ b/slipdec/slipdec.c @@ -105,9 +105,9 @@ static void slipdec_list(t_slipdec *x, t_symbol *s, int ac, t_atom *av) if (c != f) { /* abort, input list needs to be fixed before this is gonna wuk */ - pd_error (x, "slipdec: input %d out of range [0..255]", f); - x->x_valid_SLIP = 0; /* not valid SLIP */ - slipdec_dump(x,0);// reset + pd_error (x, "slipdec: input %f out of range [0..255]", f); + x->x_valid_SLIP = 0; /* not valid SLIP */ + slipdec_dump(x,0);// reset return; } if(SLIP_END == c) @@ -159,9 +159,9 @@ static void slipdec_float(t_slipdec *x, t_float f) if (c != f) { /* abort, input list needs to be fixed before this is gonna wuk */ - pd_error (x, "slipdec: input %d out of range [0..255]", f); - x->x_valid_SLIP = 0; /* not valid SLIP */ - slipdec_dump(x,0);/* reset */ + pd_error (x, "slipdec: input %f out of range [0..255]", f); + x->x_valid_SLIP = 0; /* not valid SLIP */ + slipdec_dump(x,0);/* reset */ return; } if(SLIP_END == c) |