Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d96ee90 commit 67baee6Copy full SHA for 67baee6
1 file changed
Python/marshal.c
@@ -181,9 +181,9 @@ w_object(PyObject *v, WFILE *p)
181
else {
182
char buf[256]; /* Plenty to format any double */
183
PyFloat_AsReprString(buf, (PyFloatObject *)v);
184
- n = (int)strlen(buf);
+ n = strlen(buf);
185
w_byte(TYPE_FLOAT, p);
186
- w_byte(n, p);
+ w_byte((int)n, p);
187
w_string(buf, n, p);
188
}
189
0 commit comments