rofi-blocks icon indicating copy to clipboard operation
rofi-blocks copied to clipboard

fix: Fix format string in blocks.c - use %li instead of %i

Open jirutka opened this issue 3 years ago • 0 comments

blocks.c:224:21: warning: format '%i' expects argument of type 'int', but argument 4 has type 'gint64' {aka 'long int'} [-Wformat=]
  224 |             g_debug("entry_to_focus %i", entry_to_focus);
      |                     ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~
      |                                          |
      |                                          gint64 {aka long int}
blocks.c:224:38: note: format string is defined here
  224 |             g_debug("entry_to_focus %i", entry_to_focus);
      |                                     ~^
      |                                      |
      |                                      int
      |                                     %li

jirutka avatar Feb 01 '22 18:02 jirutka