|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v7 5/5] block: Support GlusterFS as a QEMU block backend. |
Date: | Thu, 20 Sep 2012 09:53:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 |
Il 20/09/2012 08:41, Bharata B Rao ha scritto: >> > Would look a bit nicer with strstart() form cutils.c instead of strncmp(). > strstart() works with const char pointers, but I have char pointers here > which I need to modify. You can pass a char* to a function that accepts const char*. In your case, the last argument to strstart would be NULL. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |