
Make flags 32 bits and unsigned, as they should be.


---

 cur-root/libjio.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN libjio.h~flags_are_unsigned libjio.h
--- cur/libjio.h~flags_are_unsigned	2004-08-28 21:22:56.674731776 -0300
+++ cur-root/libjio.h	2004-08-28 21:22:56.677731320 -0300
@@ -27,7 +27,7 @@ struct jfs {
 	int jdirfd;		/* journal directory file descriptor */
 	int jfd;		/* journal's lock file descriptor */
 	unsigned int *jmap;	/* journal's lock file mmap area */
-	int flags;		/* journal flags */
+	uint32_t flags;		/* journal flags */
 	struct jlinger *ltrans;	/* lingered transactions */
 	pthread_mutex_t lock;	/* a soft lock used in some operations */
 };
@@ -49,7 +49,7 @@ struct jtrans {
 	struct jfs *fs;		/* journal file structure to operate on */
 	char *name;		/* name of the transaction file */
 	int id;			/* transaction id */
-	int flags;		/* misc flags */
+	uint32_t flags;		/* transaction flags */
 	unsigned int numops;	/* quantity of operations in the list */
 	pthread_mutex_t lock;	/* used to modify the operation list */
 	struct joper *op;	/* list of operations */
_
