From: Ray Strode Date: Wed, 20 Aug 2008 17:44:06 +0000 (-0400) Subject: Fix wrong type being used in password response X-Git-Tag: 0.6.0~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=777830f5567b5fb4b77d85ae2e2c7ae61c67bcd1;p=thirdparty%2Fplymouth.git Fix wrong type being used in password response Can't take the address of a size_t and only write 8 bits out, even if the value is less than 255. --- diff --git a/src/ply-boot-server.c b/src/ply-boot-server.c index aeaf78ef..6dfacd3a 100644 --- a/src/ply-boot-server.c +++ b/src/ply-boot-server.c @@ -198,7 +198,7 @@ ply_boot_connection_on_password_answer (ply_boot_connection_t *connection, ply_answer_t *answer) { - size_t size; + uint8_t size; /* splash plugin isn't able to ask for password, * punt to client