summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpaul <paul>2006-01-19 20:22:16 +0000
committerpaul <paul>2006-01-19 20:22:16 +0000
commit581a02a9f71f43012c67217fe12d97808875c352 (patch)
tree4d04c1fe0d3195ba54b7fb126176a09c370dfea3 /lib
parente8e1946edf6ba87ef53832cdceccc39d7f0c3f26 (diff)
[lib/stream] small compile fix, use uint64_t, not u_int64_t.
2006-01-19 Paul Jakma <paul.jakma@sun.com> * stream.c: (stream_getq_from) should use POSIX uint64_t not u_int64_t. Latter is neither a traditional BSD type, nor a POSIX type.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog6
-rw-r--r--lib/stream.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index aae83dcb..600ffef7 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-19 Paul Jakma <paul.jakma@sun.com>
+
+ * stream.c: (stream_getq_from) should use POSIX uint64_t
+ not u_int64_t. Latter is neither a traditional BSD type, nor
+ a POSIX type.
+
2006-01-17 Vincent Jardin <vincent.jardin@6wind.com>
* md5.c: Don't forget to keep const.
diff --git a/lib/stream.c b/lib/stream.c
index 4c5c44ad..7034d904 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -383,7 +383,7 @@ stream_getl (struct stream *s)
uint64_t
stream_getq_from (struct stream *s, size_t from)
{
- u_int64_t q;
+ uint64_t q;
STREAM_VERIFY_SANE(s);