Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/xrender_x11
Modified Files:
evas_engine.h evas_engine_ximage.c
Log Message:
some warning fixes
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_engine.h 8 Oct 2005 04:57:57 -0000 1.4
+++ evas_engine.h 16 Oct 2005 09:34:35 -0000 1.5
@@ -107,6 +107,7 @@
XR_Image *_xre_image_new_from_data(Ximage_Info *xinf, int w, int h, void
*data);
XR_Image *_xre_image_new_from_copied_data(Ximage_Info *xinf, int w, int h,
void *data);
XR_Image *_xre_image_new(Ximage_Info *xinf, int w, int h);
+void _xre_image_resize(XR_Image *im, int w, int h);
void _xre_image_free(XR_Image *im);
void _xre_image_region_dirty(XR_Image *im, int x, int y, int w, int h);
void _xre_image_dirty(XR_Image *im);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine_ximage.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_engine_ximage.c 9 Oct 2005 02:06:52 -0000 1.3
+++ evas_engine_ximage.c 16 Oct 2005 09:34:35 -0000 1.4
@@ -77,7 +77,7 @@
if (shm_info.shmid >= 0)
{
shm_info.shmaddr = xim->data = shmat(shm_info.shmid, 0, 0);
- if ((shm_info.shmaddr != NULL) && (shm_info.shmaddr != -1))
+ if ((shm_info.shmaddr) && (shm_info.shmaddr != (void *) -1))
{
XErrorHandler ph;
@@ -166,7 +166,7 @@
if (xim->shm_info->shmid >= 0)
{
xim->shm_info->shmaddr = xim->xim->data =
shmat(xim->shm_info->shmid, 0, 0);
- if ((xim->shm_info->shmaddr != NULL) &&
(xim->shm_info->shmaddr != -1))
+ if ((xim->shm_info->shmaddr) &&
(xim->shm_info->shmaddr != (void *) -1))
{
XErrorHandler ph;
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs