Cleanup (messages): Make the wording of the signedness warning clearer
authorYannick Brosseau <yannick.brosseau@gmail.com>
Fri, 3 Aug 2012 18:47:52 +0000 (14:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 3 Aug 2012 18:47:52 +0000 (14:47 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
types/integer.c

index 39c9f5c95bca6ee5d7315d855f985ed85cf76af1..212d8d489ce35f04562ff7e10ddfb26a09c95d31 100644 (file)
@@ -173,7 +173,7 @@ uint64_t get_unsigned_int(const struct definition *field)
        if (!integer_declaration->signedness) {
                return integer_definition->value._unsigned;
        }
-       fprintf(stderr, "[warning] Extracting unsigned value in a signed int (%s)\n",
+       fprintf(stderr, "[warning] Extracting unsigned value from a signed int (%s)\n",
                g_quark_to_string(field->name));
        return (uint64_t)integer_definition->value._signed;
 }
@@ -189,7 +189,7 @@ int64_t get_signed_int(const struct definition *field)
        if (integer_declaration->signedness) {
                return integer_definition->value._signed;
        }
-       fprintf(stderr, "[warning] Extracting signed value in an unsigned int (%s)\n", 
+       fprintf(stderr, "[warning] Extracting signed value from an unsigned int (%s)\n", 
                g_quark_to_string(field->name));
        return (int64_t)integer_definition->value._unsigned;
 }
This page took 0.034068 seconds and 4 git commands to generate.