Fix comments to use pre C99 standard style instead
VxWorks compiler fails to compile *.c file with C99 style comments on it Change-Id: Ib5c5ff14006c17f9392b77363232b8b7cc112d34 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>bb10
parent
eae8faabed
commit
2aaffe1800
|
|
@ -1736,9 +1736,9 @@
|
|||
if ( raster->worker )
|
||||
raster->worker->skip_spans = params->skip_spans;
|
||||
|
||||
// If raster object and raster buffer are allocated, but
|
||||
// raster size isn't of the minimum size, indicate out of
|
||||
// memory.
|
||||
/* If raster object and raster buffer are allocated, but */
|
||||
/* raster size isn't of the minimum size, indicate out of */
|
||||
/* memory. */
|
||||
if (raster->buffer_allocated_size < MINIMUM_POOL_SIZE )
|
||||
return ErrRaster_OutOfMemory;
|
||||
|
||||
|
|
@ -1866,8 +1866,8 @@
|
|||
( sizeof ( TCell ) * 8 ) );
|
||||
}
|
||||
else if ( pool_base)
|
||||
{ // Case when there is a raster pool allocated, but it
|
||||
// doesn't have the minimum size (and so memory will be reallocated)
|
||||
{ /* Case when there is a raster pool allocated, but it */
|
||||
/* doesn't have the minimum size (and so memory will be reallocated) */
|
||||
rast->buffer = pool_base;
|
||||
rast->worker = NULL;
|
||||
rast->buffer_size = pool_size;
|
||||
|
|
|
|||
Loading…
Reference in New Issue