Index: include/wordq.h
===================================================================
--- include/wordq.h	(revision aa021e27af8d8567fa787e709e3b0d49eefafb76)
+++ include/wordq.h	(revision 7bb128412e0dc849eabb8e70946421b6b86d24c6)
@@ -12,10 +12,10 @@
 struct	wordq {
 
-	uint16_t	qsize;		/* maximum queue length */
-	uint16_t	qlen;		/* current queue length */
-	uint16_t	qin;		/* in pointer */
-	uint16_t 	qout;		/* out pointer */
-	uint16_t	qhi;		/* high water mark */
-	uint16_t	qlo;		/* low water mark */
+	int16_t		qsize;		/* maximum queue length */
+	int16_t		qlen;		/* current queue length */
+	int16_t		qin;		/* in pointer */
+	int16_t 	qout;		/* out pointer */
+	int16_t		qhi;		/* high water mark */
+	int16_t		qlo;		/* low water mark */
 	uint16_t	*qbuf;		/* base of queue */
 };
Index: ram/setwq.c
===================================================================
--- ram/setwq.c	(revision aa021e27af8d8567fa787e709e3b0d49eefafb76)
+++ ram/setwq.c	(revision 7bb128412e0dc849eabb8e70946421b6b86d24c6)
@@ -28,5 +28,5 @@
 */
 
-uint16_t setwq(struct wordq *qp, uint16_t *qadr, uint16_t qsiz, uint16_t hi, uint16_t lo)
+int16_t setwq(struct wordq *qp, uint16_t *qadr, int16_t qsiz, int16_t hi, int16_t lo)
 {
 	if ((uint16_t *)0L EQ qadr)
Index: ram/setwq.x
===================================================================
--- ram/setwq.x	(revision aa021e27af8d8567fa787e709e3b0d49eefafb76)
+++ ram/setwq.x	(revision 7bb128412e0dc849eabb8e70946421b6b86d24c6)
@@ -18,3 +18,3 @@
 extern	int16_t		getwq(struct wordq *qp, uint16_t *p);
 extern	int16_t		putwq(struct wordq *qp, uint16_t c);
-extern	uint16_t	setwq(struct wordq *qp, uint16_t *qadr, uint16_t qsiz, uint16_t hi, uint16_t lo);
+extern	int16_t		setwq(struct wordq *qp, uint16_t *qadr, int16_t qsiz, int16_t hi, int16_t lo);
