Fixed ~20 potential errors identified by the MS complier.
This commit is contained in:
@@ -1031,7 +1031,7 @@ static PyObject *cvquadedge_repr(PyObject *self)
|
||||
char str[1000];
|
||||
sprintf(str, "<cvsubdiv2dedge(");
|
||||
char *d = str + strlen(str);
|
||||
sprintf(d, "%zx.%d", m & ~3, (int)(m & 3));
|
||||
sprintf(d, "%lux.%d", (unsigned long)(m & ~3), (int)(m & 3));
|
||||
d += strlen(d);
|
||||
sprintf(d, ")>");
|
||||
return PyString_FromString(str);
|
||||
|
Reference in New Issue
Block a user