commit 2bc43ba669eab4e630ef645fe1228c1c9c9689cb parent 4b2d64719584daddef6ff8b81c175677495496a2 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Apr 1 11:45:45 +0300 Wow Diffstat:
ggformat.h | | | 2 | +- |
diff --git a/ggformat.h b/ggformat.h @@ -97,7 +97,7 @@ void ggformat_impl( FormatBuffer * fb, const char * fmt, const T & first, Rest.. template< typename... Rest > size_t ggformat( char * buf, size_t len, const char * fmt, Rest... rest ) { - FormatBuffer fb( buf, sizeof( len ) ); + FormatBuffer fb( buf, len ); ggformat_impl( &fb, fmt, rest... ); return fb.len; }