$NetBSD: patch-ad,v 1.1.1.1 2008/05/25 15:29:19 joerg Exp $ --- src/Browser.cxx.orig 2008-05-16 18:09:01.000000000 +0200 +++ src/Browser.cxx @@ -1676,7 +1676,7 @@ RETURN: void Browser::column_click_cb_(Widget *ww, void *d) { Browser *w = (Browser*)(ww->parent()); - w->selected_column_ = *(int*)&d; + w->selected_column_ = *(int *)d; w->do_callback(); w->selected_column_ = NO_COLUMN_SELECTED; } @@ -1774,7 +1774,7 @@ void Browser::column_labels(const char * if (iparent(this); - header_[i]->callback(column_click_cb_, (void*)i); + header_[i]->callback(column_click_cb_, &i); } Group::current(g); }