aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-08 08:52:50 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-08 08:52:50 +0100
commit9fb63c761f599d6631d60689bf23e8aa63ea1a6b (patch)
treea7b3da0ddf4ea127526bf349b3b14bece5de54a6 /src/lib/ecore_imf
parentFix formatting (diff)
downloadefl-9fb63c761f599d6631d60689bf23e8aa63ea1a6b.tar.gz
Fix "Allocation too small" errors reported by Coverity. (Basically, if
we are going to allocate space for a variable of a certain type, then lets make sure we Declare that variable as the proper type). NB: Fixes Coverity CIDs 1039602, 1039603, 1039604 Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_context.c b/src/lib/ecore_imf/ecore_imf_context.c
index 04e85d807b..3601b4123d 100644
--- a/src/lib/ecore_imf/ecore_imf_context.c
+++ b/src/lib/ecore_imf/ecore_imf_context.c
@@ -568,7 +568,7 @@ _ecore_imf_event_free_preedit(void *data EINA_UNUSED, void *event)
EAPI void
ecore_imf_context_preedit_start_event_add(Ecore_IMF_Context *ctx)
{
- Ecore_IMF_Event_Commit *ev;
+ Ecore_IMF_Event_Preedit_Start *ev;
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
{
@@ -586,7 +586,7 @@ ecore_imf_context_preedit_start_event_add(Ecore_IMF_Context *ctx)
EAPI void
ecore_imf_context_preedit_end_event_add(Ecore_IMF_Context *ctx)
{
- Ecore_IMF_Event_Commit *ev;
+ Ecore_IMF_Event_Preedit_End *ev;
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
{
@@ -604,7 +604,7 @@ ecore_imf_context_preedit_end_event_add(Ecore_IMF_Context *ctx)
EAPI void
ecore_imf_context_preedit_changed_event_add(Ecore_IMF_Context *ctx)
{
- Ecore_IMF_Event_Commit *ev;
+ Ecore_IMF_Event_Preedit_Changed *ev;
if (!ECORE_MAGIC_CHECK(ctx, ECORE_MAGIC_CONTEXT))
{