]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Fix wrong type being used in password response
authorRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 17:44:06 +0000 (13:44 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 19:50:48 +0000 (15:50 -0400)
Can't take the address of a size_t and only write
8 bits out, even if the value is less than 255.

src/ply-boot-server.c

index aeaf78efe833cb5ae442db3f241fc9e42be20e32..6dfacd3abee1d3b04d413cc216438c00ac35d685 100644 (file)
@@ -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