get rid of annoying warning
authorBrenden Matthews <brenden1@rty.ca>
Thu, 17 Nov 2005 00:32:39 +0000 (00:32 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Thu, 17 Nov 2005 00:32:39 +0000 (00:32 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@416 7f574dfc-610e-0410-a909-a81674777703

src/conky.c

index ed026b6..9f4ce94 100644 (file)
@@ -341,7 +341,7 @@ int check_mount(char *s)
 
 
 #ifdef X11
-static inline int calc_text_width(const char *s, unsigned int l)
+static inline int calc_text_width(const char *s, int l)
 {
 #ifdef XFT
        if (use_xft) {