View | Details | Raw Unified
Collapse All | Expand All

(-) libggi-2.1.1.orig/display/lcd823/visual.c (-1 / +4 lines)
 Lines 106-112    Link Here 
	GGIDPRINT("display-lcd823: GGIopen start.\n");
	GGIDPRINT("display-lcd823: GGIopen start.\n");
	LCD823_PRIV(vis) = priv = malloc(sizeof(ggi_lcd823_priv));
	
	LCD823_PRIV(vis) = priv = (ggi_lcd823_priv *)malloc(sizeof(ggi_lcd823_priv));
	
	if (priv == NULL) {
	if (priv == NULL) {
		return GGI_ENOMEM;
		return GGI_ENOMEM;
	}
	}
(-) libggi-2.1.1.orig/include/ggi/display/lcd823.h (-1 / +1 lines)
 Lines 50-55    Link Here 
	long  frame_size;
	long  frame_size;
} ggi_lcd823_priv;
} ggi_lcd823_priv;
#define LCD823_PRIV(vis) ((ggi_lcd823_priv *)LIBGGI_PRIVATE(vis))
#define LCD823_PRIV(vis) (LIBGGI_PRIVATE(vis))
#endif /* _GGI_DISPLAY_LCD823_H */
#endif /* _GGI_DISPLAY_LCD823_H */