From Peter Johansson:
The supplied patch takes care of the following compilation warnings: editcap.c(273) : warning C4013: 'getpid' undefined; assuming extern returning int editcap.c(464) : warning C4018: '<' : signed/unsigned mismatch svn path=/trunk/; revision=15084
This commit is contained in:
parent
5e241d8a7c
commit
d410c9ed54
|
@ -32,6 +32,10 @@
|
||||||
#include "getopt.h"
|
#include "getopt.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <process.h> /* getpid */
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some globals so we can pass things to various routines
|
* Some globals so we can pass things to various routines
|
||||||
*/
|
*/
|
||||||
|
@ -461,7 +465,7 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err_type < ERR_WT_FMT) {
|
if (err_type < ERR_WT_FMT) {
|
||||||
if (i < phdr->caplen - 2)
|
if ((unsigned int)i < phdr->caplen - 2)
|
||||||
strcpy(&buf[i], "%s");
|
strcpy(&buf[i], "%s");
|
||||||
err_type = ERR_WT_TOTAL;
|
err_type = ERR_WT_TOTAL;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue