Fixing gcc 3.3 compile failures

Simon Barner barner at in.tum.de
Tue Jul 22 05:24:16 PDT 2003


--- midimountain/mvcSongProperties.cpp.orig	Tue Jul 22 04:23:32 2003
+++ midimountain/mvcSongProperties.cpp	Tue Jul 22 04:25:22 2003
@@ -42,7 +42,8 @@
 //=============================================================================
 void TMvcSongProperties::SetData( void )
 {
-	int* tmpInt = new int = 0;
+	int* tmpInt = new int;
+	*tmpInt = 0;
 
 	gtk_editable_insert_text( GTK_EDITABLE( FindWidget( "txtName" )),
 		fSequence->GetSequenceName(),
@@ -111,4 +112,4 @@
 void CancelClickedSongProp( GtkButton *button, gpointer user_data )
 {
 	gtk_widget_hide( ((TMvcSongProperties*)user_data)->GetWidget() );
-}
\ No newline at end of file
+}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030722/800e283c/attachment.bin


More information about the freebsd-current mailing list