mc/lib
Andreas Mohr 38fc00669d lib/serialize.c: cleanup -Wformat-signedness warning.
serialize.c: In function 'mc_serialize_str':
serialize.c:116:34: error: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka long unsigned int}' [-Werror=format=]
     return g_strdup_printf ("%c%zd" SRLZ_DELIM_S "%s", prefix, strlen (data), data);
                                  ^
serialize.c:130:19: error: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'size_t {aka long unsigned int}' [-Werror=format=]
 #define FUNC_NAME "mc_serialize_str()"
                   ^
serialize.c:175:22: note: in expansion of macro 'FUNC_NAME'
                      FUNC_NAME
                      ^~~~~~~~~
serialize.c:130:19: error: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'size_t {aka long unsigned int}' [-Werror=format=]
 #define FUNC_NAME "mc_serialize_str()"
                   ^
serialize.c:175:22: note: in expansion of macro 'FUNC_NAME'
                      FUNC_NAME
                      ^~~~~~~~~
serialize.c: In function 'mc_deserialize_config':
serialize.c:267:19: error: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka long unsigned int}' [-Werror=format=]
 #define FUNC_NAME "mc_deserialize_config()"
                   ^
serialize.c:269:35: note: in expansion of macro 'FUNC_NAME'
     prepend_error_message (error, FUNC_NAME " at %zd", current_position + 1); \
                                   ^~~~~~~~~
serialize.c:301:17: note: in expansion of macro 'prepend_error_and_exit'
                 prepend_error_and_exit ();
                 ^~~~~~~~~~~~~~~~~~~~~~
serialize.c:267:19: error: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka long unsigned int}' [-Werror=format=]
 #define FUNC_NAME "mc_deserialize_config()"
                   ^
serialize.c:269:35: note: in expansion of macro 'FUNC_NAME'
     prepend_error_message (error, FUNC_NAME " at %zd", current_position + 1); \
                                   ^~~~~~~~~
serialize.c:313:17: note: in expansion of macro 'prepend_error_and_exit'
                 prepend_error_and_exit ();
                 ^~~~~~~~~~~~~~~~~~~~~~
serialize.c:267:19: error: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka long unsigned int}' [-Werror=format=]
 #define FUNC_NAME "mc_deserialize_config()"
                   ^
serialize.c:269:35: note: in expansion of macro 'FUNC_NAME'
     prepend_error_message (error, FUNC_NAME " at %zd", current_position + 1); \
                                   ^~~~~~~~~
serialize.c:325:17: note: in expansion of macro 'prepend_error_and_exit'
                 prepend_error_and_exit ();
                 ^~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2016-11-21 13:12:54 +03:00
..
event Clarify AM_CPPFLAGS. 2016-03-04 09:23:36 +03:00
filehighlight filehighlight: clarify includes. 2016-03-04 09:23:36 +03:00
mcconfig lib/mcconfig/paths.c: reduce scope of 'homedir' var. 2016-09-11 11:11:01 +03:00
search (mc_search__hex_translate_to_regex): cleanup -Wformat-signedness warning. 2016-11-21 13:12:54 +03:00
skin Ticket #3711: support color aliases in skin files. 2016-11-21 10:52:37 +03:00
strutil Cleanup unused macros. 2016-07-29 09:32:04 +03:00
tty (tty_init): support curses other than ncurses. 2016-11-21 10:46:18 +03:00
vfs (vfs_path_deserialize): refactoring. 2016-11-21 13:12:54 +03:00
widget Ticket #3714: (dialog_change_screen_size): fix dialog resizing order. 2016-11-13 12:36:57 +03:00
Makefile.am Replace obsolete `INTLLIBS` with `LIBINTL` for `libmc` 2016-05-07 16:28:47 +03:00
charsets.c Cleanup unused macros. 2016-07-29 09:32:04 +03:00
charsets.h lib/charsets.[ch]: clarify usage of const qualifier. 2016-04-16 10:23:44 +03:00
event-types.h Reimplement handling of ev_vfs_print_message_t message. 2015-11-05 14:33:21 +03:00
event.h Event system: added addition parameter event_init_data to mc_event_del() function. 2011-06-21 16:13:10 +04:00
filehighlight.h filehighlight: clarify includes. 2016-03-04 09:23:36 +03:00
fileloc.h Ticket #2625: mc does not preserve file mtime when copying over ssh 2011-12-12 11:51:25 +03:00
fs.h Ticket #3464: (compute_namelen): remove... 2015-05-24 17:59:18 +03:00
glibcompat.c Update copyright years. 2016-01-01 11:48:10 +03:00
glibcompat.h Remove GLib-compatible code related to GLib < 2.26. 2016-01-01 11:48:06 +03:00
global.c Update copyright years. 2016-01-01 11:48:10 +03:00
global.h Get rid of #define const_cast(). 2016-09-11 11:11:01 +03:00
hook.c Update copyright years. 2016-01-01 11:48:10 +03:00
hook.h fixed doxygen documentation 2012-09-10 14:29:53 +03:00
keybind.c Ticket #3672: allow rebind TAB key to change panel. 2016-10-03 15:21:57 +03:00
keybind.h Ticket #3672: allow rebind TAB key to change panel. 2016-10-03 15:21:57 +03:00
lock.c Remove unneeded `struct` keyword for typedef'd structs 2016-03-04 09:23:38 +03:00
lock.h Changed lock_file() and unlock_file() functions 2012-03-06 11:52:30 +03:00
logging.c Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
logging.h Clarify __attribute ((format (printf))) usage. 2015-11-05 14:33:20 +03:00
mcconfig.h Get rid of global variables mc_main_config and mc_panels_config. 2016-05-07 16:19:02 +03:00
search.h (mc_search_set_error): cleanup compile warning on older gcc compilers: 2016-07-29 09:29:36 +03:00
serialize.c lib/serialize.c: cleanup -Wformat-signedness warning. 2016-11-21 13:12:54 +03:00
serialize.h Added ability to serialize/deserialize strings and config objects(mc_config_t) 2011-06-23 14:45:00 +03:00
shell.c Ticket #3642: make --with-subshell=optional working again. 2016-06-28 09:40:27 +03:00
shell.h Add mc_shell_init() and mc_shell_deinit() functions. 2016-01-01 11:48:06 +03:00
skin.h Ticket #3145: support for True Color (16 millions colors). 2016-11-13 15:56:59 +03:00
stat-size.h (ST_BLKSIZE): fix signed and unsigned comparision. 2016-04-25 13:15:12 +03:00
strescape.h Code indentation in lib directory 2010-11-24 10:27:20 +03:00
strutil.h Clarify __attribute ((format (printf))) usage. 2015-11-05 14:33:20 +03:00
timefmt.c Remove min() and max() macros. Use MIN() and MAX() macros from GLib. 2016-05-07 16:19:02 +03:00
timefmt.h Moved time related stuff from lib/util.[ch] into lib/timefmt.[ch]. 2010-11-24 10:27:47 +03:00
timer.c Update copyright years. 2016-01-01 11:48:10 +03:00
timer.h Ticket #2136: implement user-friendly interruption of long-time operations. 2014-07-22 13:40:30 +04:00
unixcompat.h Use #ifdef for autoconf provided marcos... 2015-05-03 19:43:48 +03:00
util.c Revert "(size_trunc_len): align to properly use either IEC or SI prefixes with the unit B (byte)." 2016-11-08 13:19:37 +03:00
util.h Revert "Ticket #3666: (size_trunc_len): fix segfault because of small buffer usage." 2016-11-08 13:19:29 +03:00
utilunix.c Ticket #3660: unable to view archive content using F3. 2016-07-09 19:21:15 +03:00
utilunix.h Lib: removed includes to "src" directory 2011-03-21 23:55:52 +02:00
widget.h Rename Dlg_head to WDialog. 2012-11-19 21:42:47 +04:00