admin/members.php, includes/- button.php, plain.button.php, user/lostpassword.php: casting from double to float due to deprecation notice - fix
admin/members.php, includes/- button.php, plain.button.php, user/lostpassword.php: casting from double to float due to deprecation notice - fix

--- a/admin/members.php
+++ b/admin/members.php
@@ -84,7 +84,7 @@
 			dbquery("UPDATE "._AUTHORTABLE." SET admincreated = '0' WHERE "._UIDFIELD." = '".$_GET['release']."'");
 			$emailquery = dbquery("SELECT "._EMAILFIELD." as email, "._PENNAMEFIELD." as penname FROM "._AUTHORTABLE." WHERE uid = '".$_GET['release']."'");
 			$email = dbassoc($emailquery);
-			mt_srand((double)microtime() * 1000000);
+			mt_srand((float)microtime() * 1000000);
 			$charset = '23456789' . 'abcdefghijkmnpqrstuvwxyz' . 'ABCDEFGHJKLMNPQRSTUVWXYZ';
 			$pass = random_string($charset, 10);
 			$encryppass = md5($pass);

--- a/includes/button.php
+++ b/includes/button.php
@@ -13,7 +13,7 @@
 $black = imagecolorallocate($image, 0x00, 0x00, 0x00);
 
 
-srand((double)microtime()*1000000);
+srand((float)microtime()*1000000);
 unset($digit, $cnum);
 
 

--- a/includes/plain.button.php
+++ b/includes/plain.button.php
@@ -11,7 +11,7 @@
 $gray    = imagecolorallocate($image, 0xC0, 0xC0, 0xC0);
 $darkgray = imagecolorallocate($image, 0x50, 0x50, 0x50);
 
-srand((double)microtime()*1000000);
+srand((float)microtime()*1000000);
 unset($digit, $cnum);
 for ($i = 0; $i < 60; $i++) {
   $x1 = rand(0,240);

--- a/user/lostpassword.php
+++ b/user/lostpassword.php
@@ -51,7 +51,7 @@
 			if(dbnumrows($result) == 0) $output .= write_message(_BADEMAIL);
 			else {
 				include("includes/emailer.php");
-				mt_srand((double)microtime() * 1000000);
+				mt_srand((float)microtime() * 1000000);
 				$charset = '23456789' . 'abcdefghijkmnpqrstuvwxyz' . 'ABCDEFGHJKLMNPQRSTUVWXYZ';		
 				$pass = random_string($charset, 10);
 				$encryppass = md5($pass);