mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
fixes to handle broken libart_lgpl 2.3.18+ headers
git-svn-id: svn://localhost/ardour2/trunk@1539 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c6d7221890
commit
07bf584673
2 changed files with 6 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ xpm2rgb (const char** xpm, uint32_t& w, uint32_t& h)
|
|||
return 0;
|
||||
}
|
||||
|
||||
savergb = rgb = (unsigned char*)art_alloc (h * w * 3);
|
||||
savergb = rgb = (unsigned char*) malloc (h * w * 3);
|
||||
|
||||
// LOAD XPM COLORMAP LONG ENOUGH TO DO CONVERSION
|
||||
for (t = 0; t < colors; ++t) {
|
||||
|
|
@ -162,7 +162,7 @@ xpm2rgba (const char** xpm, uint32_t& w, uint32_t& h)
|
|||
return 0;
|
||||
}
|
||||
|
||||
savergb = rgb = (unsigned char*)art_alloc (h * w * 4);
|
||||
savergb = rgb = (unsigned char*) malloc (h * w * 4);
|
||||
|
||||
// LOAD XPM COLORMAP LONG ENOUGH TO DO CONVERSION
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue