Fix compile warnings.
This commit is contained in:
parent
7cae39dfa5
commit
5ff28208db
@ -1,3 +1,8 @@
|
|||||||
|
2019-10-07 Arnold D. Robbins <arnold@skeeve.com>
|
||||||
|
|
||||||
|
* b.c (fnematch): Change type of pbuf from unsigned char to char.
|
||||||
|
* proto.h (fnematch): Ditto.
|
||||||
|
|
||||||
2019-10-06 Arnold D. Robbins <arnold@skeeve.com>
|
2019-10-06 Arnold D. Robbins <arnold@skeeve.com>
|
||||||
|
|
||||||
* lib.c (readrec): Allow RS a regular expression. Imported
|
* lib.c (readrec): Allow RS a regular expression. Imported
|
||||||
|
4
b.c
4
b.c
@ -632,9 +632,9 @@ int nematch(fa *f, const char *p0) /* non-empty match, for sub */
|
|||||||
* 1 Match found.
|
* 1 Match found.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int fnematch(fa *pfa, FILE *f, uschar **pbuf, int *pbufsize, int quantum)
|
int fnematch(fa *pfa, FILE *f, char **pbuf, int *pbufsize, int quantum)
|
||||||
{
|
{
|
||||||
uschar *buf = *pbuf;
|
char *buf = *pbuf;
|
||||||
int bufsize = *pbufsize;
|
int bufsize = *pbufsize;
|
||||||
int c, i, j, k, ns, s;
|
int c, i, j, k, ns, s;
|
||||||
|
|
||||||
|
2
proto.h
2
proto.h
@ -54,7 +54,7 @@ extern int member(int, const char *);
|
|||||||
extern int match(fa *, const char *);
|
extern int match(fa *, const char *);
|
||||||
extern int pmatch(fa *, const char *);
|
extern int pmatch(fa *, const char *);
|
||||||
extern int nematch(fa *, const char *);
|
extern int nematch(fa *, const char *);
|
||||||
extern int fnematch(fa *, FILE *, uschar **, int *, int);
|
extern int fnematch(fa *, FILE *, char **, int *, int);
|
||||||
extern Node *reparse(const char *);
|
extern Node *reparse(const char *);
|
||||||
extern Node *regexp(void);
|
extern Node *regexp(void);
|
||||||
extern Node *primary(void);
|
extern Node *primary(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user