summaryrefslogtreecommitdiff
path: root/net/nload/patches/patch-aa
blob: 1a3873d576b646c1f04f8641e0c0519e86b5aac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.2 2008/04/19 10:57:35 obache Exp $

--- src/form_field.cpp.orig	2008-02-02 17:14:34.000000000 +0100
+++ src/form_field.cpp
@@ -36,7 +36,7 @@ Field::~Field()
 
 void Field::setText(const string& text)
 {
-    set_field_buffer(m_field, 0, text.c_str());
+    set_field_buffer(m_field, 0, (char *)text.c_str());
 }
 
 string Field::getText()