Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154584 Details for
Bug 239899
pygame 64 bit bug, result: AttributeError: event member not defined
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
PATCH: fixing 64 bit bugs
pygame-1.7.1-64bit-2.patch (text/plain), 2.15 KB, created by
Hans de Goede
on 2007-05-12 08:06:31 UTC
(
hide
)
Description:
PATCH: fixing 64 bit bugs
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-05-12 08:06:31 UTC
Size:
2.15 KB
patch
obsolete
>--- pygame-1.7.1release/src/surface.c~ 2007-05-12 09:55:02.000000000 +0200 >+++ pygame-1.7.1release/src/surface.c 2007-05-12 09:55:02.000000000 +0200 >@@ -1353,7 +1353,7 @@ > if(rect && kw) > { > PyObject *key, *value; >- int pos=0; >+ Py_ssize_t pos=0; > while(PyDict_Next(kw, &pos, &key, &value)) > { > if((PyObject_SetAttr(rect, key, value) == -1)) >--- pygame-1.7.1release/src/event.c~ 2007-05-12 09:53:06.000000000 +0200 >+++ pygame-1.7.1release/src/event.c 2007-05-12 09:53:06.000000000 +0200 >@@ -534,7 +534,7 @@ > if(keywords) > { > PyObject *key, *value; >- int pos = 0; >+ Py_ssize_t pos = 0; > while(PyDict_Next(keywords, &pos, &key, &value)) > PyDict_SetItem(dict, key, value); > } >--- pygame-1.7.1release/src/image.c~ 2007-05-12 10:01:24.000000000 +0200 >+++ pygame-1.7.1release/src/image.c 2007-05-12 10:01:24.000000000 +0200 >@@ -291,7 +291,8 @@ > PyObject *surfobj, *string=NULL; > char *format, *data, *pixels; > SDL_Surface *surf, *temp=NULL; >- int w, h, color, len, flipped=0; >+ int w, h, color, flipped=0; >+ Py_ssize_t len; > int Rmask, Gmask, Bmask, Amask, Rshift, Gshift, Bshift, Ashift, Rloss, Gloss, Bloss, Aloss; > int hascolorkey, colorkey; > >@@ -605,7 +606,8 @@ > PyObject *string; > char *format, *data; > SDL_Surface *surf = NULL; >- int w, h, len, flipped=0; >+ int w, h, flipped=0; >+ Py_ssize_t len; > int loopw, looph; > > if(!PyArg_ParseTuple(arg, "O!(ii)s|i", &PyString_Type, &string, &w, &h, &format, &flipped)) >@@ -729,7 +731,8 @@ > PyObject *buffer; > char *format, *data; > SDL_Surface *surf = NULL; >- int w, h, len; >+ int w, h; >+ Py_ssize_t len; > PyObject *surfobj; > > if(!PyArg_ParseTuple(arg, "O(ii)s|i", &buffer, &w, &h, &format)) >--- pygame-1.7.1release/src/rect.c~ 2007-05-12 09:54:41.000000000 +0200 >+++ pygame-1.7.1release/src/rect.c 2007-05-12 09:54:41.000000000 +0200 >@@ -589,7 +589,7 @@ > { > PyRectObject* self = (PyRectObject*)oself; > GAME_Rect *argrect, temp; >- int loop=0; >+ Py_ssize_t loop=0; > PyObject* dict, *key, *val; > PyObject* ret = NULL; > >@@ -640,7 +640,7 @@ > { > PyRectObject* self = (PyRectObject*)oself; > GAME_Rect *argrect, temp; >- int loop=0; >+ Py_ssize_t loop=0; > PyObject* dict, *key, *val; > PyObject* ret = NULL; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239899
: 154584