rem: imgdata[i] = (UChar8) random();
add: imgdata[i] = (UChar8) rand();
context: void key(unsigned char key, int x, int y){	switch ( key )	{	case 27:	exit(0);	case 'a':	UChar8 imgdata[16];				for ( int i = 0; i < 16; i++ )					imgdata[i] = (UChar8) random();				image.set( Image::OSG_RGBA_PF, 2, 2, 1, 1, 1, 0, imgdata );				xchunk1->imageContentChanged();				break;	case 'b':	{				UChar8 imgdata[16];				for ( int i = 0; i < 16; i++ )					imgdata[i] = (UChar8) random();				image.set( Image::OSG_RGBA_PF, 2, 2, 1, 1, 1, 0, imgdata );				beginEditCP( xchunk1 );				xchunk1->setImage( &image );				endEditCP( xchunk1 );				}				break;	}}