From cbf7ab6f355f54745920941c7045edd7ee3ff2a0 Mon Sep 17 00:00:00 2001 From: Tomas Heinrich Date: Thu, 18 Jul 2013 14:00:11 +0200 Subject: bugfix: correction to the interface of stream obj The datatype of the argument to SetiMaxFileSize() was too small and could overflow. The SetMaxFileSize() interface wasn't used at all (possibly confused with SetiMaxFileSize()) and was dropped. --- runtime/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stream.c') diff --git a/runtime/stream.c b/runtime/stream.c index 742799d2..3eb7708d 100644 --- a/runtime/stream.c +++ b/runtime/stream.c @@ -1427,7 +1427,7 @@ finalize_it: /* property set methods */ /* simple ones first */ DEFpropSetMeth(strm, bDeleteOnClose, int) -DEFpropSetMeth(strm, iMaxFileSize, int) +DEFpropSetMeth(strm, iMaxFileSize, int64) DEFpropSetMeth(strm, iFileNumDigits, int) DEFpropSetMeth(strm, tOperationsMode, int) DEFpropSetMeth(strm, tOpenMode, mode_t) -- cgit v1.2.3