debug_cb buffer type warning