]> granicus.if.org Git - graphviz/commitdiff
squash some -Wsign-conversion warnings in gvplugin_library_load
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 29 May 2021 21:08:32 +0000 (14:08 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 01:57:34 +0000 (18:57 -0700)
lib/gvc/gvplugin.c

index 829a0a517204d83c5161b5e45a97d4e70b7a0e91..0895cc6c3df76628d0b86edbdadff9c77a1d59b1 100644 (file)
@@ -155,9 +155,9 @@ gvplugin_library_t *gvplugin_library_load(GVC_t * gvc, char *path)
     lt_dlhandle hndl;
     lt_ptr ptr;
     char *s, *sym;
-    int len;
+    size_t len;
     static char *p;
-    static int lenp;
+    static size_t lenp;
     char *libdir;
     char *suffix = "_LTX_library";
     struct stat sb;