mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 04:06:03 +00:00
fix warnings
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@824 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
5cfe6b093d
commit
75a8cfc091
@ -542,7 +542,7 @@ static struct special_t *new_special(char *buf, int t)
|
|||||||
long fwd_fcharfind(FILE* fp, char val, unsigned int step) {
|
long fwd_fcharfind(FILE* fp, char val, unsigned int step) {
|
||||||
#define BUFSZ 0x1000
|
#define BUFSZ 0x1000
|
||||||
long ret = -1;
|
long ret = -1;
|
||||||
long count = 0;
|
unsigned int count = 0;
|
||||||
static char buf[BUFSZ];
|
static char buf[BUFSZ];
|
||||||
long orig_pos = ftell(fp);
|
long orig_pos = ftell(fp);
|
||||||
long buf_pos = -1;
|
long buf_pos = -1;
|
||||||
@ -573,7 +573,7 @@ long fwd_fcharfind(FILE* fp, char val, unsigned int step) {
|
|||||||
long rev_fcharfind(FILE* fp, char val, unsigned int step) {
|
long rev_fcharfind(FILE* fp, char val, unsigned int step) {
|
||||||
#define BUFSZ 0x1000
|
#define BUFSZ 0x1000
|
||||||
long ret = -1;
|
long ret = -1;
|
||||||
long count = 0;
|
unsigned int count = 0;
|
||||||
static char buf[BUFSZ];
|
static char buf[BUFSZ];
|
||||||
long orig_pos = ftell(fp);
|
long orig_pos = ftell(fp);
|
||||||
long buf_pos = -1;
|
long buf_pos = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user