You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2001/07/13 01:50:24 UTC
cvs commit: apr-util/dbm/sdbm sdbm_private.h
wrowe 01/07/12 16:50:24
Modified: dbm/sdbm sdbm_private.h
Log:
Another certainly acceptable cast from an apr_off_t ... until we want to
adjust apr_sdbm entirely for largefile support
Revision Changes Path
1.8 +1 -1 apr-util/dbm/sdbm/sdbm_private.h
Index: sdbm_private.h
===================================================================
RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm_private.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sdbm_private.h 2001/05/09 19:12:41 1.7
+++ sdbm_private.h 2001/07/12 23:50:23 1.8
@@ -112,7 +112,7 @@
#define SDBM_INVALIDATE_CACHE(db, finfo) \
do { db->dirbno = (!finfo.size) ? 0 : -1; \
db->pagbno = -1; \
- db->maxbno = finfo.size * BYTESIZ; \
+ db->maxbno = (long)(finfo.size * BYTESIZ); \
} while (0);
#endif /* SDBM_PRIVATE_H */