From 89a88ff987c43b38efe75d6a87cb64a638ef7458 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 17 Mar 2005 09:01:58 +0000 Subject: [PATCH] remove non-const warning. --- lib/driver/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/driver/device.c b/lib/driver/device.c index 9d0a8c61..76503d46 100644 --- a/lib/driver/device.c +++ b/lib/driver/device.c @@ -1,5 +1,5 @@ /* - $Id: device.c,v 1.19 2005/03/14 02:02:49 rocky Exp $ + $Id: device.c,v 1.20 2005/03/17 09:01:58 rocky Exp $ Copyright (C) 2005 Rocky Bernstein @@ -310,7 +310,7 @@ driver_return_code_t cdio_close_tray (const char *psz_drive, /*in/out*/ driver_id_t *p_driver_id) { - const driver_id_t temp_driver_id = DRIVER_DEVICE; + driver_id_t temp_driver_id = DRIVER_DEVICE; if (!p_driver_id) p_driver_id = &temp_driver_id;