Files
wmaker/src
Christophe CURISandCarlos R. Mafra 2b65b0416e wmaker: fix size of element given to the 'qsort' function (Coverity #50210)
As pointed by Coverity, the sizeof used was not done on the right type.
This worked because the element was a pointer all pointers types have the
same size in most platforms.

For code maintainability, the code will now take the size from the first
element of the array to be sorted, so that if the structure gets changed
someday the expression will stay valid.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2014-11-23 22:43:38 +00:00
..
2013-05-26 19:48:00 +01:00
2010-09-11 17:32:57 +02:00
2010-09-11 17:32:57 +02:00
2013-06-10 22:34:59 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2012-04-04 19:44:40 +01:00
2012-06-24 12:30:17 +01:00
2012-11-19 00:12:46 +01:00
2013-05-26 19:48:00 +01:00
2013-05-26 19:48:00 +01:00
2014-08-15 01:08:23 +01:00
2013-05-26 19:48:00 +01:00
2014-08-29 12:43:50 +01:00
2014-08-15 01:08:23 +01:00
2012-10-30 15:26:52 +00:00
2013-12-30 18:11:06 +00:00