summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@digia.com>2013-01-09 12:49:09 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-28 13:11:59 (GMT)
commit7139b08695cb96bee600956f0ef4eb8fed05bb10 (patch)
tree1bfe3958bafea9e4d2dbfa65117cfce99aec7daf /src
parentc6ce46202a2c48adb8b17756568aa9f43d4eeb10 (diff)
downloadQt-7139b08695cb96bee600956f0ef4eb8fed05bb10.zip
Qt-7139b08695cb96bee600956f0ef4eb8fed05bb10.tar.gz
Qt-7139b08695cb96bee600956f0ef4eb8fed05bb10.tar.bz2
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 (cherry picked from qtbase/2aaffe1800db0d8a170b278ac9a43f2e00ef0e8f) Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qgrayraster.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/painting/qgrayraster.c b/src/gui/painting/qgrayraster.c
index 63b841e..b13953d 100644
--- a/src/gui/painting/qgrayraster.c
+++ b/src/gui/painting/qgrayraster.c
@@ -1782,9 +1782,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;
@@ -1912,8 +1912,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;