Fix incompatible pointer type warning 44/40344/1
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>
Tue, 2 Jun 2015 14:11:17 +0000 (23:11 +0900)
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>
Tue, 2 Jun 2015 14:11:41 +0000 (23:11 +0900)
commit0f0b16192489eda4ece753d60a6d2f55fa8719f7
tree5a8f5ad78dadb85ceaa7a5c8c0da494eb4aac232
parent7be3519c3d6805a49f046e2b1290389b83362cf7
Fix incompatible pointer type warning

[   54s] /home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src
         /view_maincatalog.c: In function '_draw_subitems':
[   54s] /home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/src
         /view_maincatalog.c:1181:45: warning: passing argument 2 of
         'provider_get_passcode' from incompatible pointer type
[   54s] && (provider_get_passcode(KEY_PASSCODE, &passcode) == -1)) {
[   54s]                                              ^
[   54s] In file included from /home/abuild/rpmbuild/BUILD/
         org.tizen.settings-tv-ref-0.1/src/view_maincatalog.c:28:0:
[   54s] /home/abuild/rpmbuild/BUILD/org.tizen.settings-tv-ref-0.1/
         include/settings_provider.h:28:5: note: expected 'char **'
         but argument is of type 'const char **'
[   54s]  int provider_get_passcode(const char *key, char **val);
[   54s]      ^

Change-Id: I4926ee81a6f19504ea8b6b5721fbf5d827bcaf0a
src/view_maincatalog.c