1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Fix build with clang 3.6

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-02-16 21:04:20 +00:00
parent 768535146c
commit 08b975d878
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379108

View File

@ -1,5 +1,5 @@
--- pwc-dec23.c.orig 2013-09-05 17:36:27.000000000 +0200
+++ pwc-dec23.c 2013-09-05 17:37:27.000000000 +0200
--- pwc-dec23.c.orig 2006-06-04 05:39:14.000000000 +0400
+++ pwc-dec23.c 2015-02-16 22:09:58.000000000 +0300
@@ -261,7 +261,7 @@
{
int flags;
@ -9,3 +9,21 @@
switch (type) {
case 720:
@@ -277,7 +277,7 @@
pdev->zz = 6;
flags = mode[2] >> 5; /* our: 7 */
- fill_table_color(flags, (unsigned int *)KiaraRomTable,
+ fill_table_color(flags, (const unsigned int *)KiaraRomTable,
pdev->table_0004, pdev->table_8004);
break;
@@ -293,7 +293,7 @@
pdev->zz = 6;
flags = mode[2] >> 3;
- fill_table_color(flags, (unsigned int *)TimonRomTable,
+ fill_table_color(flags, (const unsigned int *)TimonRomTable,
pdev->table_0004, pdev->table_8004);
break;