Skip to content

Commit 2099f66

Browse files
committed
remove a warning
1 parent 3f3fbde commit 2099f66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mulle--buffer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ static inline int _mulle__buffer_is_void( struct mulle__buffer *buffer)
346346
static inline size_t _mulle__buffer_get_length( struct mulle__buffer *buffer)
347347
{
348348
return( _mulle__buffer_has_overflown( buffer)
349-
? buffer->_size
350-
: buffer->_curr - buffer->_storage);
349+
? buffer->_size
350+
: (size_t) (buffer->_curr - buffer->_storage));
351351
}
352352

353353

0 commit comments

Comments
 (0)