summaryrefslogtreecommitdiff
path: root/audio/id3lib/patches/patch-aj
blob: 3cc8fb1a259262220584d5206f48fa802ae3b386 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aj,v 1.3 2007/01/20 01:04:04 rillig Exp $

char and unsigned char are different data types.

--- src/tag_file.cpp.orig	2003-03-02 01:23:00.000000000 +0100
+++ src/tag_file.cpp	2007-01-10 21:57:03.513247016 +0100
@@ -282,7 +282,7 @@ size_t RenderV2ToFile(const ID3_TagImpl&
 
     tmpOut.write(tagData, tagSize);
     file.seekg(tag.GetPrependedBytes(), ios::beg);
-    uchar tmpBuffer[BUFSIZ];
+    char tmpBuffer[BUFSIZ];
     while (file)
     {
       file.read(tmpBuffer, BUFSIZ);