From 91ba10e168a8d92bd709b28cdd5ea45a2eb7a3e2 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Tue, 10 Mar 2015 12:22:04 +0100 Subject: [PATCH] rdtk: remove redundant casts --- rdtk/librdtk/rdtk_resources.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rdtk/librdtk/rdtk_resources.c b/rdtk/librdtk/rdtk_resources.c index 7bcc352e7..ccae746a7 100644 --- a/rdtk/librdtk/rdtk_resources.c +++ b/rdtk/librdtk/rdtk_resources.c @@ -1326,22 +1326,22 @@ int rdtk_get_embedded_resource_file(const char* filename, BYTE** pData) { if (strcmp(filename, "source_serif_pro_regular_12.png") == 0) { - *pData = (BYTE*) source_serif_pro_regular_12_png; + *pData = source_serif_pro_regular_12_png; return source_serif_pro_regular_12_png_len; } else if (strcmp(filename, "source_serif_pro_regular_12.xml") == 0) { - *pData = (BYTE*) source_serif_pro_regular_12_xml; + *pData = source_serif_pro_regular_12_xml; return source_serif_pro_regular_12_xml_len; } else if (strcmp(filename, "btn_default_normal.9.png") == 0) { - *pData = (BYTE*) btn_default_normal_9_png; + *pData = btn_default_normal_9_png; return btn_default_normal_9_png_len; } else if (strcmp(filename, "textfield_default.9.png") == 0) { - *pData = (BYTE*) textfield_default_9_png; + *pData = textfield_default_9_png; return textfield_default_9_png_len; }