ZeroIntensity / view.py

The Batteries-Detachable Web Framework
https://view.zintensity.dev
MIT License
205 stars 15 forks source link

Fixed possible loss of data warning when compiling for x64. #161

Closed AraHaan closed 5 months ago

AraHaan commented 5 months ago

When compiling for x86 this is fine because Py_ssize_t is typedef'd to int, however on x64 it is typedef'd to long long and so int here is a downcast and can result in "data loss". As such it is best to use Py_ssize_t instead here on these and permanently silent these warnings as the type would of these variables would automatically adjust based on the definition of Py_ssize_t.

netlify[bot] commented 5 months ago

Deploy Preview for viewpy ready!

Name Link
Latest commit 64d885321a5f3f64764d80704f274a1c45010b79
Latest deploy log https://app.netlify.com/sites/viewpy/deploys/662640ac3e0c580008fffb4c
Deploy Preview https://deploy-preview-161--viewpy.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.